DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - Initial CCMS locking tie-in


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Jun 2012 22:49:03 -0700 (PDT)

commit 46558838767cd04bc2d6886fc0bc326e4470dec3
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Jun 6 22:43:14 2012 -0700

    hammer2 - Initial CCMS locking tie-in
    
    This is a necessary precursor step to being able to integrate the cache
    state grants with our chain locks.  Basically we are replacing the
    hammer2 chain lockmgr lock (hammer2_chain->lk) with a CCMS cst structure
    (hammer2_chain->cst).
    
    This structure will become the attribute CST for hammer2 inodes.  The
    topological CST is built into the hammer2_inode.  Data-space CSTs will
    initially be the hammer2_chain->cst for indirect blocks though we will
    probably also need one or more in hammer2_inode to handle generic casess.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |   14 +-
 sys/vfs/hammer2/hammer2_ccms.c   | 1231 ++++++--------------------------------
 sys/vfs/hammer2/hammer2_ccms.h   |  357 ++++--------
 sys/vfs/hammer2/hammer2_chain.c  |  104 ++---
 sys/vfs/hammer2/hammer2_subr.c   |   10 +-
 sys/vfs/hammer2/hammer2_vfsops.c |    2 +-
 6 files changed, 334 insertions(+), 1384 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/46558838767cd04bc2d6886fc0bc326e4470dec3


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]