From 1f7c30df8fe2ca778a83a83ba7f98de883881d42 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 1 Feb 2013 09:18:45 -0800 Subject: [PATCH] Add zfs_disable_dup_eviction module option Commit 1eb5bfa introduced a new zfs_disable_dup_eviction tunable. It should have been made available as a module option in the original patch but was overlooked. Signed-off-by: Brian Behlendorf --- module/zfs/arc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 50b686535..eab1b1698 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -5042,6 +5042,9 @@ MODULE_PARM_DESC(zfs_arc_shrink_shift, "log2(fraction of arc to reclaim)"); module_param(zfs_arc_p_min_shift, int, 0444); MODULE_PARM_DESC(zfs_arc_p_min_shift, "arc_c shift to calc min/max arc_p"); +module_param(zfs_disable_dup_eviction, int, 0644); +MODULE_PARM_DESC(zfs_disable_dup_eviction, "disable duplicate buffer eviction"); + module_param(l2arc_write_max, ulong, 0444); MODULE_PARM_DESC(l2arc_write_max, "Max write bytes per interval");