aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorAllan Jude <[email protected]>2024-04-24 17:51:21 -0400
committerGitHub <[email protected]>2024-04-24 14:51:21 -0700
commit5044c4e3ff0558b726b491a9267fc3db6f855a2d (patch)
tree1f2b8e6e66b4ec71d7e471ad2ee10b2e79bced24 /man
parent67d13998b3e055232a07311c2dc609571eaf1df1 (diff)
Fast Dedup: ZAP Shrinking
This allows ZAPs to shrink. When there are two empty sibling leafs, one of them is collapsed and its storage space is reused. This improved performance on directories that at one time contained a large number of files, but many or all of those files have since been deleted. This also applies to all other types of ZAPs as well. Sponsored-by: iXsystems, Inc. Sponsored-by: Klara, Inc. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Alexander Stetsenko <[email protected]> Closes #15888
Diffstat (limited to 'man')
-rw-r--r--man/man4/zfs.47
1 files changed, 3 insertions, 4 deletions
diff --git a/man/man4/zfs.4 b/man/man4/zfs.4
index 22e1106bb..ef0385d42 100644
--- a/man/man4/zfs.4
+++ b/man/man4/zfs.4
@@ -16,7 +16,7 @@
.\" own identifying information:
.\" Portions Copyright [yyyy] [name of copyright owner]
.\"
-.Dd January 9, 2024
+.Dd February 14, 2024
.Dt ZFS 4
.Os
.
@@ -564,9 +564,8 @@ However, this is limited by
Maximum micro ZAP size.
A micro ZAP is upgraded to a fat ZAP, once it grows beyond the specified size.
.
-.It Sy zfetch_hole_shift Ns = Ns Sy 2 Pq uint
-Log2 fraction of holes in speculative prefetch stream allowed for it to
-proceed.
+.It Sy zap_shrink_enabled Ns = Ns Sy 1 Ns | Ns 0 Pq int
+If set, adjacent empty ZAP blocks will be collapsed, reducing disk space.
.
.It Sy zfetch_min_distance Ns = Ns Sy 4194304 Ns B Po 4 MiB Pc Pq uint
Min bytes to prefetch per stream.