git: hammer2 - structuralize the cluster's chain array

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Mar 22 22:14:41 PDT 2015


commit 4b7e61e012b29628a68f98ab3fdd43ecb5c2b5e0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Mar 22 22:11:44 2015 -0700

    hammer2 - structuralize the cluster's chain array
    
    * Structuralize hammer2_cluster's chain array, implementing a new
      sub-structure called hammer2_cluster_item.
    
      This structure represents one of N elements in a cluster node representing
      the same location at each target.  It will also be used to track cache
      coherency state, async locks, and other things.

Summary of changes:
 sys/vfs/hammer2/hammer2.h         |  14 ++-
 sys/vfs/hammer2/hammer2_cluster.c | 191 +++++++++++++++++++++-----------------
 sys/vfs/hammer2/hammer2_inode.c   |  18 ++--
 sys/vfs/hammer2/hammer2_ioctl.c   |   2 +-
 sys/vfs/hammer2/hammer2_vfsops.c  |  46 +++++----
 sys/vfs/hammer2/hammer2_vnops.c   |   2 +-
 6 files changed, 155 insertions(+), 118 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b7e61e012b29628a68f98ab3fdd43ecb5c2b5e0


-- 
DragonFly BSD source repository


More information about the Commits mailing list