git: hammer2 - Major restructuring, part 3/several

Matthew Dillon dillon at crater.dragonflybsd.org
Thu May 2 13:11:43 PDT 2013


commit ea155208315d63a64e9e53552d15aae4321eefb4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu May 2 13:06:28 2013 -0700

    hammer2 - Major restructuring, part 3/several
    
    * Use hammer2_chain_duplicate() to move hardlinks to common parents.
    
    * Adjust flush algorithms, particularly when it comes to figuring out
      when we can clear the MOVED bit on a chain.
    
    * chain RBTREE sorts on delete_tid in addition to sorting on the key.
      Add ranged searches.
    
      The frontend no longer modifies indirect blocks.  Instead, chains in
      the RBTREE are used to placehold both insertions and deletions.
    
    * Stabilization pass.  (still work to do on chain refs / unmount and
      optimizing the flush).

Summary of changes:
 sys/vfs/hammer2/hammer2.h       |  14 +-
 sys/vfs/hammer2/hammer2_chain.c | 470 +++++++++++++++++++++++++---------------
 sys/vfs/hammer2/hammer2_flush.c | 305 ++++++++++++++++++--------
 sys/vfs/hammer2/hammer2_inode.c |  89 +++++---
 sys/vfs/hammer2/hammer2_ioctl.c |   3 +-
 sys/vfs/hammer2/hammer2_subr.c  |  12 +-
 sys/vfs/hammer2/hammer2_vnops.c |  95 ++++++--
 7 files changed, 662 insertions(+), 326 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list