From 9e184c848d2f51d0f53c1bcc9ea3e29f568fcec2 Mon Sep 17 00:00:00 2001 From: Luke Beirne Date: Thu, 20 Nov 2025 13:05:00 -0700 Subject: [PATCH] Added note to zia_compress man page Man page section for zia_compress includes note about the provider needing zero_fill functionality in order for offloaded data to remain offloaded. Signed-off-by: Luke Beirne --- man/man7/zpoolprops.7 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man/man7/zpoolprops.7 b/man/man7/zpoolprops.7 index fa0aa2863493..0e55ff27d80f 100644 --- a/man/man7/zpoolprops.7 +++ b/man/man7/zpoolprops.7 @@ -486,6 +486,9 @@ Embedded checksums are onloaded, and will suffer a data movement penalty. Controls whether the pool should offload compression. Does not have any effect if the compression stage is disabled. Embedded data is onloaded, and will suffer a data movement penalty. +After compression, ZFS pads data with 0's. Because of this, for data +to remain offloaded, the provider must have zero_fill functionality. +Otherwise, data will be onloaded before continuing. .It Sy zia_decompress Ns = Ns Sy on Ns | Ns Sy off Controls whether the pool should offload decompression. .It Sy zia_disk_write Ns = Ns Sy on Ns | Ns Sy off