kernel - Remove kernel-level ccms module (it will be moved into hammer2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 2 Jun 2012 17:15:51 +0000 (10:15 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 2 Jun 2012 17:15:51 +0000 (10:15 -0700)
commit5fae12030283a17251f8ba0f78b6802f43dbf98e
tree5c001646ba8e42f927a9092d1fd12c7ff74fcc67
parentb62201445347b6010549fd9b43c84bfea0977b4a
kernel - Remove kernel-level ccms module (it will be moved into hammer2)

* Remove the CCMS kernel layer.  The CCMS module is going to be moved
  directly into hammer2 in order to make hammer2 more portable.  For
  now that means moving the files into vfs/hammer2 in the hammer2 branch.

* CCMS is a logical cache coherency locking layer that has been in the
  DragonFly tree for a while but was not enabled by default.  Originally
  the plan was to not lock vnodes across operations but to instead acquire
  the appropriate CCMS lock(s), but rewiring all the filesystems proved to
  be too large a task.

* HAMMER2's cluster work is going to need this layer for real, but nothing
  else does.  What we will do instead (eventually) is add a mount flag to
  allow us to avoid locking vnodes across VNOPS calls which HAMMER2 will be
  able to specify.
sys/kern/kern_ccms.c [deleted file]
sys/kern/vfs_lock.c
sys/kern/vfs_vnops.c
sys/sys/ccms.h [deleted file]
sys/sys/vnode.h