summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-02-21 12:14:44 -0800
committerBrian Behlendorf <[email protected]>2013-02-21 13:38:24 -0800
commit546c978bbd3f132a88609cab15ec0e954eaa62b8 (patch)
treefb2611d4154eaa1beda3e98404076859722d3e84 /module
parent73a046cc8c863fd2ae5bcff3461005c4ecdcaec7 (diff)
Enable zfs_arc_memory_throttle_disable by default
The zfs_arc_memory_throttle_disable module option was introduced by commit 0c5493d47059f25ce9dbf20c9fe87655f55102a1 to resolve a memory miscalculation which could result in the txg_sync thread spinning. When this was first introduced the default behavior was left unchanged until enough real world usage confirmed there were no unexpected issues. We've now reached that point. Linux's direct reclaim is working as expected so we're enabling this behavior by default. This helps pave the way to retire the spl_kmem_availrmem() functionality in the SPL layer. This was the only caller. Signed-off-by: Brian Behlendorf <[email protected]> Issue #938
Diffstat (limited to 'module')
-rw-r--r--module/zfs/arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index 09924dbdb..b7499ee96 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -189,7 +189,7 @@ unsigned long zfs_arc_meta_limit = 0;
int zfs_arc_grow_retry = 0;
int zfs_arc_shrink_shift = 0;
int zfs_arc_p_min_shift = 0;
-int zfs_arc_memory_throttle_disable = 0;
+int zfs_arc_memory_throttle_disable = 1;
int zfs_disable_dup_eviction = 0;
int zfs_arc_meta_prune = 0;