hammer2 - stabilization - Fix bugs found by blogbench
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Sep 2015 07:28:18 +0000 (00:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Sep 2015 07:28:18 +0000 (00:28 -0700)
commit815e1c13cd185a8d3507c7d200b6f53a78b6a364
tree7c6c134c4a24ce39de44d4aed5f428fa6c11793a
parent75e479cfbd4b68bfdd0ce305ce40b9eb603bd587
hammer2 - stabilization - Fix bugs found by blogbench

* Make sure that any inode without an associated vnode gets put on
  the sideq if it is dirtied, otherwise it might not ever get flushed.

* Fix a SMP race in hammer2_xop_start_except().  For asynchronous completions,
  the xop can become invalid the instant we release our spinlock if another
  thread manages to process, retire, and free it.
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_strategy.c
sys/vfs/hammer2/hammer2_thread.c