git: hammer2 hammer2 - Initial CCMS locking tie-in
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jun 6 22:49:03 PDT 2012
commit 46558838767cd04bc2d6886fc0bc326e4470dec3
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list