hammer2 - bulkfree work, rip-up cluster sync.
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Aug 2015 20:49:47 +0000 (13:49 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Aug 2015 21:08:38 +0000 (14:08 -0700)
commit53f84d31f557c11439f7905f5f77e32d3c583990
treec1e2890d7c9524d49493ade6d746665f96014d88
parent26971ded6945ecbaaae2ca2731dae3b81ca8e9fd
hammer2 - bulkfree work, rip-up cluster sync.

* bulkfree no longer attempts to flush.  Instead it deals with races against
  live by refusing to free blocks in L1 freemap chains that have been modified
  since the last sync.  This is a temporary workaround.

* No longer propagate modify_tid during a flush.  modify_tid is now used
  as a localized but cluster-aware TID (whereas mirror_tid is only localized
  to a cluster node).

* Start work on adding an update_tid to the blockref.  This will ultimately
  be used by the cluster synchronization code instead of modify_tid.

* Adjust the DESIGN document for the new synchronization concept.
sys/vfs/hammer2/DESIGN
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_bulkscan.c
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_disk.h
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