hammer2 - Refactor frontend part 2/many
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2015 01:40:07 +0000 (18:40 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Jun 2015 00:15:39 +0000 (17:15 -0700)
commit1f6671f8da9be60ffed1213340c80268da9c75b6
tree0367930a59c05ff0941118ed3a7177fceab1072a
parentb2900845aad3e7e4b965e9ed922bbaa21697ce9e
hammer2 - Refactor frontend part 2/many

* Move the CHAIN_UNLINKED flag to INODE_ISUNLINKED.

* This allows the removal of hammer2_cluster_isunlinked(),
  hammer2_cluster_set_chainflags(), and hammer2_cluster_clr_chainflags().

* Greatly simplifies hammer2_vop_inactive(), in particular removes a
  cluster lock and related I/O.

* Greatly simplifies hammer2_vop_reclaim(), in particular removes a
  cluster lock and related I/O.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_cluster.c
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_vnops.c