git: hammer2 hammer2 - cleanup, stabilization pass

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 20 21:24:52 PDT 2012


commit 222d9e22c9784223b6fde9c9cfee69d2eb46c2a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 20 19:13:56 2012 -0700

    hammer2 - cleanup, stabilization pass
    
    * MOVED -> SUBMODIFIED was not being set in the parent chain under some
      circumstances.
    
    * Optimize I/O a bit more, there's no point dirtying a chain for a blockref
      update until all sub-chains are clean (at least for now).
    
    * Additional chain locking around certain tests and propagations.
    
    * Numerous fixes to hammer_chain_flush(), sync, and unmount
    
    * Properly destroy the chains for disconnected inodes when the inodes are
      reclaimed.
    
    * Code cleanup.

Summary of changes:
 sys/vfs/hammer2/TODO             |    7 +-
 sys/vfs/hammer2/dossd            |    2 +-
 sys/vfs/hammer2/hammer2.h        |    1 +
 sys/vfs/hammer2/hammer2_chain.c  |  448 +++++++++++++++++++++++---------------
 sys/vfs/hammer2/hammer2_vfsops.c |   23 ++-
 sys/vfs/hammer2/hammer2_vnops.c  |   11 +-
 6 files changed, 311 insertions(+), 181 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/222d9e22c9784223b6fde9c9cfee69d2eb46c2a3


-- 
DragonFly BSD source repository





More information about the Commits mailing list