]> git.proxmox.com Git - mirror_zfs.git/commit
Fix zfs_arc_max minimum tuning
authorberen12 <github@mid-earth.net>
Thu, 12 Apr 2018 17:47:32 +0000 (13:47 -0400)
committerTony Hutter <hutter2@llnl.gov>
Tue, 8 May 2018 00:19:57 +0000 (17:19 -0700)
commitcca220d7c684dfd05887ae8434ad94edb2728240
tree1472a3ad2df73112c977df90224443c78c912ba2
parent4ed30958cee6a7e5e6da41f5767fc7acde1dd1cf
Fix zfs_arc_max minimum tuning

When setting `zfs_arc_max` its minimum value is allowed
to be 64 MiB.  There was an off-by-1 error which can matter
on tiny systems.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Zubrzycki <github@mid-earth.net>
Closes #7417
module/zfs/arc.c