]> granicus.if.org Git - zfs/commitdiff
Enable zfs_arc_memory_throttle_disable by default
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 21 Feb 2013 20:14:44 +0000 (12:14 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 21 Feb 2013 21:38:24 +0000 (13:38 -0800)
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 <behlendorf1@llnl.gov>
Issue #938

module/zfs/arc.c

index 09924dbdbf7f5229ef4a2d67f3ed1db08e687fc2..b7499ee96669e06dff6c885baa2b6b1eb4df0b1a 100644 (file)
@@ -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;