hammer2 - Fix cluster synchronization bug (2+ nodes)
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Mar 2017 21:04:59 +0000 (14:04 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 27 Mar 2017 06:43:09 +0000 (23:43 -0700)
commit0d66a712e6f186af2bfca72c16119336495f5d2a
treefacda0bbc81c069cc34f224e265d84dc71464a25
parent05a3c4ece2b2ce092b812a55cdfcb64bab9844cd
hammer2 - Fix cluster synchronization bug (2+ nodes)

* Fix a bug where hammer2_cluster_check() can end up in an infinite
  loop.

* Look for pfs_names[] in all PFSs associated with a cluster.

* Add missing xop retirement in pfs-delete.

* Skip the directory empty check in pfs-delete.

* Preliminary code to deallocate an element of a live PFS
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_admin.c
sys/vfs/hammer2/hammer2_cluster.c
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_ioctl.c
sys/vfs/hammer2/hammer2_ioctl.h
sys/vfs/hammer2/hammer2_strategy.c
sys/vfs/hammer2/hammer2_synchro.c
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_xops.c