]> git.proxmox.com Git - mirror_zfs.git/commit - man/man5/zfs-module-parameters.5
Add zfs_arc_meta_limit_percent tunable
authorGeLiXin <ge.lixin@zte.com.cn>
Thu, 11 Aug 2016 03:15:37 +0000 (11:15 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 23 Aug 2016 20:03:01 +0000 (13:03 -0700)
commit9907cc1cc8c16fa2c7c03aa33264153ca2bdad6c
treead84161f2107b410680fde50a0f8b052268f86d8
parent3e635ac15c093ad9f1ee263ac8e4b45917a1449c
Add zfs_arc_meta_limit_percent tunable

ARC will evict meta buffers that exceed the arc_meta_limit. Before a further
investigating on whether we should take special protection on meta buffers,
this tunable make arc_meta_limit adjustable for different workloads.

People can set zfs_arc_meta_limit_percent to any value while insmod zfs.ko,
so some range check is added to guarantee a suitable arc_meta_limit.

Suggested by Tim Chase, zfs_arc_dnode_limit is changed to a percent-style
tunable as well.

Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4957
man/man5/zfs-module-parameters.5 [changed mode: 0644->0755]
module/zfs/arc.c [changed mode: 0644->0755]