summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-10-22 13:18:26 -0400
committerGitHub <[email protected]>2020-10-22 10:18:26 -0700
commiteb02a4c6fbf25388858099fc63de98192d5d2f66 (patch)
tree77cc8a4d22632104fa8ac1ec545f5a9a7fd789c1
parent2aaab887bb8693722f601c0576462cc82a47698f (diff)
Add missing zfs_arc_evict_batch_limit tunable
It's even documented already. Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #11094
-rw-r--r--module/zfs/arc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index 52a926569..1e3d47693 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -10742,5 +10742,8 @@ ZFS_MODULE_PARAM(zfs_arc, zfs_arc_, dnode_reduce_percent, ULONG, ZMOD_RW,
"Percentage of excess dnodes to try to unpin");
ZFS_MODULE_PARAM(zfs_arc, zfs_arc_, eviction_pct, INT, ZMOD_RW,
- "When full, ARC allocation waits for eviction of this % of alloc size");
+ "When full, ARC allocation waits for eviction of this % of alloc size");
+
+ZFS_MODULE_PARAM(zfs_arc, zfs_arc_, evict_batch_limit, INT, ZMOD_RW,
+ "The number of headers to evict per sublist before moving to the next");
/* END CSTYLED */