aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-02-01 09:18:45 -0800
committerBrian Behlendorf <[email protected]>2013-02-01 09:57:57 -0800
commit1f7c30df8fe2ca778a83a83ba7f98de883881d42 (patch)
tree61a8dc7f7fe844f0c8b00f0787f020f11905df27
parentf52b31eaf0301feeb308fbc46f696eb44d0ae523 (diff)
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 <[email protected]>
-rw-r--r--module/zfs/arc.c3
1 files changed, 3 insertions, 0 deletions
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");