hammer2 - Initial CCMS locking tie-in
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 7 Jun 2012 05:43:14 +0000 (22:43 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 7 Jun 2012 05:43:14 +0000 (22:43 -0700)
commit46558838767cd04bc2d6886fc0bc326e4470dec3
tree0e3d29303fe3449d67cbfa454cf83906e5f6b470
parent609a8021a553a01c201131e4380378efac634f40
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.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_ccms.c
sys/vfs/hammer2/hammer2_ccms.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_subr.c
sys/vfs/hammer2/hammer2_vfsops.c