git: hammer2 - Cleanup various races, better flush

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 13 00:10:21 PST 2012


commit f3843dc2f83458c3ed048c7b745306ef8946d82c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 13 00:08:05 2012 -0800

    hammer2 - Cleanup various races, better flush
    
    * Cleanup various topological scan races
    
    * Temporarily release the parent lock when diving a child.
    
    * Start work on a chain movement (disconnect from parent) interlock,
      which we need for stability during flushes, renames, and hardlink
      operations.  This will likely be rewritten.

Summary of changes:
 sys/vfs/hammer2/hammer2.h       |    9 +-
 sys/vfs/hammer2/hammer2_ccms.h  |    9 +-
 sys/vfs/hammer2/hammer2_chain.c |  337 +++++++++++++++++++++++++++++----------
 sys/vfs/hammer2/hammer2_inode.c |  114 ++++++++++----
 sys/vfs/hammer2/hammer2_vnops.c |   13 +-
 5 files changed, 354 insertions(+), 128 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f3843dc2f83458c3ed048c7b745306ef8946d82c


-- 
DragonFly BSD source repository


More information about the Commits mailing list