From eb02a4c6fbf25388858099fc63de98192d5d2f66 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Thu, 22 Oct 2020 13:18:26 -0400 Subject: [PATCH] Add missing zfs_arc_evict_batch_limit tunable It's even documented already. Reviewed-by: Alexander Motin Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #11094 --- module/zfs/arc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */