diff options
author | Ryan Moeller <[email protected]> | 2020-07-19 13:15:34 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-19 10:15:34 -0700 |
commit | 0421f257b20f41e33fb69e067b47beed2c5bd3bd (patch) | |
tree | f27fec7d19bc690edcb3940922b907be5498db70 /include/sys | |
parent | ceadc0dbbd5594db153a61c3d82a6d98e1adca7d (diff) |
FreeBSD: Add legacy arc_min and arc_max
These tunables were renamed from vfs.zfs.arc_min and
vfs.zfs.arc_max to vfs.zfs.arc.min and vfs.zfs.arc.max.
Add legacy compat tunables for the old names.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10579
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/arc_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/arc_impl.h b/include/sys/arc_impl.h index 096a9d85c..e43cf57d8 100644 --- a/include/sys/arc_impl.h +++ b/include/sys/arc_impl.h @@ -889,6 +889,8 @@ extern arc_state_t *arc_mfu; extern arc_state_t *arc_mru; extern uint_t zfs_arc_pc_percent; extern int arc_lotsfree_percent; +extern unsigned long zfs_arc_min; +extern unsigned long zfs_arc_max; extern void arc_reduce_target_size(int64_t to_free); extern boolean_t arc_reclaim_needed(void); |