]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/arc.c
Obey arc_meta_limit default size when changing arc_max
authorAndCycle <andcycle@andcycle.idv.tw>
Tue, 10 Nov 2015 14:01:26 +0000 (22:01 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 13 Nov 2015 23:45:22 +0000 (15:45 -0800)
commit256fa983f46603df3f26c1508ca3a09f6316f36d
treeb06a54ff2f144f4ac669382911512b600d6722ef
parentf3e2a7accdd33b5e1f9367d97f4f2177962c5567
Obey arc_meta_limit default size when changing arc_max

When decreasing the maximum ARC size preserve the 3/4 default
ratio for the arc_meta_limit.  Otherwise, the arc_meta_limit
may be set the same as arc_max.

Signed-off-by: AndCycle <andcycle@andcycle.idv.tw>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4001
module/zfs/arc.c