hammer2 - flush sequencing part 7 - stabilization pass
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 13 May 2013 03:13:04 +0000 (20:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 13 May 2013 03:13:04 +0000 (20:13 -0700)
commit8853dfb5d69fcaa3d08a22c7442df2d763a87830
tree38bfbc729932e30ee5e04a12206dde4c29a16163
parent79e96d168af5f47c4a1c9f92980b9ce0879f7b06
hammer2 - flush sequencing part 7 - stabilization pass

* Simplify the next_parent / IPACTIVE handling.  Just ref next_parent
  unconditionally, it's the easiest solution.

* More work on CHAIN_SUBMODIFIED flag handling during the flush.  The
  flush seems to catch all the edge cases now (cross fingers).

* Do a better job cleaning up unreferenced chains.
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_vfsops.c
sys/vfs/hammer2/hammer2_vnops.c