]> git.proxmox.com Git - mirror_zfs.git/commit
Don't ignore zfs_arc_max below allmem/32
authorRyan Moeller <ryan@iXsystems.com>
Thu, 9 Apr 2020 22:39:48 +0000 (18:39 -0400)
committerGitHub <noreply@github.com>
Thu, 9 Apr 2020 22:39:48 +0000 (15:39 -0700)
commit36a6e2335c45212f2609269bcee3004908ac6bcb
tree9f17e7567a4d13b0ffa575da8a4d9ec61035a5ac
parent8b27e08ed8c6d854ee3c398773407dfac24d7578
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 <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10157
Closes #10158
include/sys/arc_impl.h
module/os/linux/zfs/arc_os.c
module/zfs/arc.c