diff options
author | chrisrd <[email protected]> | 2017-06-30 02:57:27 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-06-29 09:57:27 -0700 |
commit | b8a97fb101555797400c3a275e67820c5d689802 (patch) | |
tree | b181457d768497c77ee7d6865ed3dc056df87c3f /module/zfs/dbuf.c | |
parent | 44f09cdc59fd89f9bc935b4d36b7ed15d21ddeb3 (diff) |
Set arc_meta_limit, arc_dnode_limit on change
Make zfs_arc_meta_limit_percent and zfs_arc_dnode_limit_percent behave
as you would expect from zfs-module-parameters.5.
- recalculate arc_meta_limit if zfs_arc_meta_limit_percent changes
- recalculate arc_dnode_limit if zfs_arc_dnode_limit_percent changes
- correctly set arc_meta_limit and arc_dnode_limit if zfs_arc_max or
zfs_arc_meta_min changes
Reviewed-by: Tim Chase <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chris Dunlop <[email protected]>
Closes #6269
Diffstat (limited to 'module/zfs/dbuf.c')
0 files changed, 0 insertions, 0 deletions