hammer2 - Revamp hammer2_cluster structure part 1
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Sep 2013 22:31:14 +0000 (15:31 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Sep 2013 22:42:16 +0000 (15:42 -0700)
commit7bed8d7ea59c2d7092f0f8d8bb187f54f34d5045
tree6ad31ff70529559097ec67b922d283117e52c2a9
parentef6d73ea92a7fb40e70d16c80591e0001890e238
hammer2 - Revamp hammer2_cluster structure part 1

* Adjust the hammer2_cluster structure to track multiple chains (and thus
  multiple mount points).  Use cases still just pull out one chain.

* Remove schain from hammer2_mount, leaving just sroot.  The cached chain
  structure isn't useful because it doesn't track delete-duplicate
  operations.  Use sroot for basing functions.

* Mark pfs-mount chains with the PFSROOT flag and propagate through
  duplications to detect when a snapshot should inherit the PFS
  cluster id or not.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_flush.c
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_ioctl.c
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_vnops.c