hammer2 - Fix bug in comp:autozero mode
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 19 Aug 2017 08:08:30 +0000 (01:08 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 19 Aug 2017 08:08:30 +0000 (01:08 -0700)
commit2be7e5ab8c5bf14ec4d9e2ae7880cdc55c8f41f8
tree4dae707d0be24013261e6a05d7f373760e763088
parentfae225dce61daa160e17d4cbdace35108ad1ed6f
hammer2 - Fix bug in comp:autozero mode

* comp:autozero mode did not properly set the check code in the live
  de-dup case, resulting in I/O errors later on.

* Fixes issues installing /boot (newfs_hammer2 on an 'a' partition uses
  comp:autozero by default in order to disable compression, so the boot
  loader can read the files without needing decompression code).
sys/vfs/hammer2/hammer2_strategy.c