git: hammer2 - Refactor file unlink w/open descriptor (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 11 19:47:18 PST 2013


commit 9b21452a2481dc90ee53463465b2c9f9a8b59b16
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Dec 11 19:44:38 2013 -0800

    hammer2 - Refactor file unlink w/open descriptor (2)
    
    * Stabilization pass
    
    * Fix various deadlocks.  When dealing with hardlinks lock the common
      parent directory before locking the source/target directories.
      Move cache_rename() outside of internal H2 locks.
    
    * Fix an issue with nlinks counting.
    
    * Remove some debugging.

Summary of changes:
 sys/vfs/hammer2/hammer2.h       | 12 ++---
 sys/vfs/hammer2/hammer2_chain.c |  4 ++
 sys/vfs/hammer2/hammer2_inode.c | 99 +++++++++++++++--------------------------
 sys/vfs/hammer2/hammer2_vnops.c | 89 ++++++++++++++++++++++++++++--------
 4 files changed, 117 insertions(+), 87 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9b21452a2481dc90ee53463465b2c9f9a8b59b16


-- 
DragonFly BSD source repository



More information about the Commits mailing list