aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-04-09 18:39:48 -0400
committerGitHub <[email protected]>2020-04-09 15:39:48 -0700
commit36a6e2335c45212f2609269bcee3004908ac6bcb (patch)
tree9f17e7567a4d13b0ffa575da8a4d9ec61035a5ac /include
parent8b27e08ed8c6d854ee3c398773407dfac24d7578 (diff)
Don't ignore zfs_arc_max below allmem/32
Set arc_c_min before arc_c_max so that when zfs_arc_min is set lower than the default allmem/32 zfs_arc_max can also be set lower. Add warning messages when tunables are being ignored. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10157 Closes #10158
Diffstat (limited to 'include')
-rw-r--r--include/sys/arc_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/arc_impl.h b/include/sys/arc_impl.h
index d4167945f..2468a4aac 100644
--- a/include/sys/arc_impl.h
+++ b/include/sys/arc_impl.h
@@ -612,7 +612,7 @@ extern void arc_prune_async(int64_t);
extern int arc_memory_throttle(spa_t *spa, uint64_t reserve, uint64_t txg);
extern uint64_t arc_free_memory(void);
extern int64_t arc_available_memory(void);
-extern void arc_tuning_update(void);
+extern void arc_tuning_update(boolean_t);
extern int param_set_arc_long(ZFS_MODULE_PARAM_ARGS);
extern int param_set_arc_int(ZFS_MODULE_PARAM_ARGS);