git: hammer2 - Refactor frontend part 5/many

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


commit 159c3ca2e6aee2377fbe52f9e738c70c7e930e51
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jun 17 00:12:21 2015 -0700

    hammer2 - Refactor frontend part 5/many
    
    * Separate the inode lock from the cluster lock.  Add a new (possibly
      temporary) API function hammer2_inode_cluster() which handles initial
      ip cluster locking.
    
    * Begin using the meta-data cached in ip->meta and ip->bref.
    
    * Cache bref statistics in ip->bref (might be temporary).

Summary of changes:
 sys/vfs/hammer2/TODO               |   3 +
 sys/vfs/hammer2/hammer2.h          |   6 +-
 sys/vfs/hammer2/hammer2_inode.c    |  69 +++++++++------------
 sys/vfs/hammer2/hammer2_iocom.c    |   3 +-
 sys/vfs/hammer2/hammer2_ioctl.c    |  27 ++++++---
 sys/vfs/hammer2/hammer2_strategy.c |   6 +-
 sys/vfs/hammer2/hammer2_subr.c     |   4 +-
 sys/vfs/hammer2/hammer2_syncthr.c  |   5 +-
 sys/vfs/hammer2/hammer2_vfsops.c   |  36 +++++++++--
 sys/vfs/hammer2/hammer2_vnops.c    | 121 ++++++++++++++++++++-----------------
 10 files changed, 164 insertions(+), 116 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/159c3ca2e6aee2377fbe52f9e738c70c7e930e51


-- 
DragonFly BSD source repository



More information about the Commits mailing list