hammer2 - Stabilization (data corruption) master
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 26 Jun 2016 05:05:14 +0000 (22:05 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 26 Jun 2016 05:05:14 +0000 (22:05 -0700)
commitba38182bcd65888ecc1c5606e7860aeb6243eb9a
tree2050a537865653f661a2be66d4dd440d0faa9fbb
parentfb92a99a0dd3feb3b08148897aae276ac75eeaa1
hammer2 - Stabilization (data corruption)

* Move the check code errors into hammer2_chain_testcheck() and supply
  additional information in the kprintf.

* Reformulate hammer2_io_newq() a bit.

* Fix bugs in the buffer invalidation path.  The hammer2_io_newq() path
  was improperly setting INVALOK.  This path is only used by the freemap
  code to pre-validate a buffer to avoid unnecessary reads.  Fixed by
  not setting INVALOK if IOCB_QUICK is set.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_bulkfree.c
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_freemap.c
sys/vfs/hammer2/hammer2_io.c