diff options
author | Ryan Moeller <[email protected]> | 2020-04-09 18:39:48 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-09 15:39:48 -0700 |
commit | 36a6e2335c45212f2609269bcee3004908ac6bcb (patch) | |
tree | 9f17e7567a4d13b0ffa575da8a4d9ec61035a5ac /module/os/linux/zfs | |
parent | 8b27e08ed8c6d854ee3c398773407dfac24d7578 (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 'module/os/linux/zfs')
-rw-r--r-- | module/os/linux/zfs/arc_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/os/linux/zfs/arc_os.c b/module/os/linux/zfs/arc_os.c index bff0f0517..e34d4ae08 100644 --- a/module/os/linux/zfs/arc_os.c +++ b/module/os/linux/zfs/arc_os.c @@ -377,7 +377,7 @@ param_set_arc_long(const char *buf, zfs_kernel_param_t *kp) if (error < 0) return (SET_ERROR(error)); - arc_tuning_update(); + arc_tuning_update(B_TRUE); return (0); } @@ -391,7 +391,7 @@ param_set_arc_int(const char *buf, zfs_kernel_param_t *kp) if (error < 0) return (SET_ERROR(error)); - arc_tuning_update(); + arc_tuning_update(B_TRUE); return (0); } |