zfs.4: Fix documentation of zfs_arc_dnode_reduce_percent

Fixes: 25458cbef Limit the amount of dnode metadata in the ARC
Fixes: 5b9f3b766 Soften pruning threshold on not evictable metadata

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mateusz Piotrowski <0mp@FreeBSD.org>
Closes #18513
This commit is contained in:
Mateusz Piotrowski
2026-05-11 21:04:58 +02:00
committed by GitHub
parent 9ae9f2e983
commit 45dddc4523
+11 -4
View File
@@ -4,6 +4,7 @@
.\" Copyright (c) 2019, 2021 by Delphix. All rights reserved. .\" Copyright (c) 2019, 2021 by Delphix. All rights reserved.
.\" Copyright (c) 2019 Datto Inc. .\" Copyright (c) 2019 Datto Inc.
.\" Copyright (c) 2023, 2024, 2025, Klara, Inc. .\" Copyright (c) 2023, 2024, 2025, Klara, Inc.
.\" Copyright (c) 2026, Mateusz Piotrowski <0mp@FreeBSD.org>
.\" .\"
.\" The contents of this file are subject to the terms of the Common Development .\" The contents of this file are subject to the terms of the Common Development
.\" and Distribution License (the "License"). You may not use this file except .\" and Distribution License (the "License"). You may not use this file except
@@ -18,7 +19,7 @@
.\" own identifying information: .\" own identifying information:
.\" Portions Copyright [yyyy] [name of copyright owner] .\" Portions Copyright [yyyy] [name of copyright owner]
.\" .\"
.Dd September 15, 2025 .Dd May 8, 2026
.Dt ZFS 4 .Dt ZFS 4
.Os .Os
. .
@@ -768,9 +769,15 @@ See also
which serves a similar purpose but has a higher priority if nonzero. which serves a similar purpose but has a higher priority if nonzero.
. .
.It Sy zfs_arc_dnode_reduce_percent Ns = Ns Sy 10 Ns % Pq u64 .It Sy zfs_arc_dnode_reduce_percent Ns = Ns Sy 10 Ns % Pq u64
Percentage of ARC dnodes to try to scan in response to demand for non-metadata Percentage used to size dnode prune requests.
when the number of bytes consumed by dnodes exceeds The request size is the larger of two values:
.Sy zfs_arc_dnode_limit . .Sy zfs_arc_dnode_reduce_percent
applied to the dnode count above
.Sy zfs_arc_dnode_limit ,
or
.Sy zfs_arc_dnode_reduce_percent
applied to the total dnode count
when non-evictable metadata exceeds 3/4 of the metadata target.
. .
.It Sy zfs_arc_average_blocksize Ns = Ns Sy 8192 Ns B Po 8 KiB Pc Pq uint .It Sy zfs_arc_average_blocksize Ns = Ns Sy 8192 Ns B Po 8 KiB Pc Pq uint
The ARC's buffer hash table is sized based on the assumption of an average The ARC's buffer hash table is sized based on the assumption of an average