hammer2 - Use B_IOISSUED
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Jun 2016 22:12:51 +0000 (15:12 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Jun 2016 22:12:51 +0000 (15:12 -0700)
commit8b892544aeb93651eb58cc6af6560bfd4e276a3f
tree7e329524b5b6453a6f4d6a2776a6df516ad0f267
parent3b2afb6786813ec0e45a2687e9024ee27e00c843
hammer2 - Use B_IOISSUED

* Get rid of the hokey B_IODEBUG use case H2 had before.

* Integrate B_IOISSUED (which used to be B_IODEBUG) into hammer2 properly.

* Remove the dio crc_good_mask hack.  Now that hammer2_chain is more
  persistent we just use the flag in the cached hammer2_chain structure,
  clearing it if we determine that the kernel had to re-issue read I/O
  (at least in the full-block case).

* Has approximately the same performance as the dio crc_good_mask hack had
  and is a bit safer w/regards to chain aliasing to the same physical block.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_io.c
sys/vfs/hammer2/hammer2_strategy.c