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 <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10579
This commit is contained in:
Ryan Moeller
2020-07-19 13:15:34 -04:00
committed by GitHub
parent ceadc0dbbd
commit 0421f257b2
3 changed files with 39 additions and 30 deletions
+2
View File
@@ -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);