diff options
author | Tom Caputi <[email protected]> | 2018-02-21 15:28:52 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-02-21 12:28:52 -0800 |
commit | b1d217338a51b025b802ebf6a759f45dcd8e3b4c (patch) | |
tree | d9b8be3fa8ee4123d343a97286834fcb15433d4f /man | |
parent | 5121c4fb0c25a369d2e6f61e5b0a79969f0b75b5 (diff) |
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 <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #7198
Diffstat (limited to 'man')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 529684742..17335ebed 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1403,17 +1403,6 @@ Default value: \fB1,048,576\fR. .sp .ne 2 .na -\fBzfs_mdcomp_disable\fR (int) -.ad -.RS 12n -Disable meta data compression -.sp -Use \fB1\fR for yes and \fB0\fR for no (default). -.RE - -.sp -.ne 2 -.na \fBzfs_metaslab_fragmentation_threshold\fR (int) .ad .RS 12n |