git: hammer2 - Refactor frontend part 2/many

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 17 17:15:48 PDT 2015


commit 1f6671f8da9be60ffed1213340c80268da9c75b6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jun 16 18:40:07 2015 -0700

    hammer2 - Refactor frontend part 2/many
    
    * Move the CHAIN_UNLINKED flag to INODE_ISUNLINKED.
    
    * This allows the removal of hammer2_cluster_isunlinked(),
      hammer2_cluster_set_chainflags(), and hammer2_cluster_clr_chainflags().
    
    * Greatly simplifies hammer2_vop_inactive(), in particular removes a
      cluster lock and related I/O.
    
    * Greatly simplifies hammer2_vop_reclaim(), in particular removes a
      cluster lock and related I/O.

Summary of changes:
 sys/vfs/hammer2/hammer2.h         | 17 ++++++---
 sys/vfs/hammer2/hammer2_cluster.c | 73 ---------------------------------------
 sys/vfs/hammer2/hammer2_inode.c   | 27 +++++++--------
 sys/vfs/hammer2/hammer2_vnops.c   | 42 ++++++++--------------
 4 files changed, 41 insertions(+), 118 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f6671f8da9be60ffed1213340c80268da9c75b6


-- 
DragonFly BSD source repository



More information about the Commits mailing list