git: hammer2 - flush sequencing part 7 - stabilization pass

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 12 20:17:33 PDT 2013


commit 8853dfb5d69fcaa3d08a22c7442df2d763a87830
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun May 12 20:13:04 2013 -0700

    hammer2 - flush sequencing part 7 - stabilization pass
    
    * Simplify the next_parent / IPACTIVE handling.  Just ref next_parent
      unconditionally, it's the easiest solution.
    
    * More work on CHAIN_SUBMODIFIED flag handling during the flush.  The
      flush seems to catch all the edge cases now (cross fingers).
    
    * Do a better job cleaning up unreferenced chains.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |   1 -
 sys/vfs/hammer2/hammer2_chain.c  | 109 +++++++++++++++++++++------------------
 sys/vfs/hammer2/hammer2_flush.c  |  72 +++++++++-----------------
 sys/vfs/hammer2/hammer2_inode.c  |  94 +++------------------------------
 sys/vfs/hammer2/hammer2_vfsops.c |   6 ++-
 sys/vfs/hammer2/hammer2_vnops.c  |   5 +-
 6 files changed, 98 insertions(+), 189 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8853dfb5d69fcaa3d08a22c7442df2d763a87830


-- 
DragonFly BSD source repository


More information about the Commits mailing list