zfs/man/man5
Tom Caputi b1d217338a Raw receives must compress metadnode blocks
Currently, the DMU relies on ZIO layer compression to free LO
dnode blocks that no longer have objects in them. However,
raw receives disable all compression, meaning that these blocks
can never be freed. In addition to the obvious space concerns,
this could also cause incremental raw receives to fail to mount
since the MAC of a hole is different from that of a completely
zeroed block.

This patch corrects this issue by adding a special case in
zio_write_compress() which will attempt to compress these blocks
to a hole even if ZIO_FLAG_RAW_ENCRYPT is set. This patch also
removes the zfs_mdcomp_disable tunable, since tuning it could
cause these same issues.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7198
2018-02-21 12:28:52 -08:00
..
Makefile.am Initial attempt to document events and payloads. 2014-07-25 11:58:36 -07:00
vdev_id.conf.5 vdev_id: new slot type ses 2017-12-20 09:42:07 -08:00
zfs-events.5 Extend deadman logic 2018-01-25 13:40:38 -08:00
zfs-module-parameters.5 Raw receives must compress metadnode blocks 2018-02-21 12:28:52 -08:00
zpool-features.5 Project Quota on ZFS 2018-02-13 14:54:54 -08:00