FreeBSD: Remove some code duplication in sysctl_os.c

Drop unnecessary redefinition's of several arcstat values.
Put missing extern declaration of arc_no_grow_shift in arc_impl.h.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10609
This commit is contained in:
Ryan Moeller
2020-07-23 20:35:34 -04:00
committed by GitHub
parent b197457cd6
commit f7a68f99d0
2 changed files with 1 additions and 19 deletions
+1
View File
@@ -877,6 +877,7 @@ extern arc_stats_t arc_stats;
extern hrtime_t arc_growtime;
extern boolean_t arc_warm;
extern int arc_grow_retry;
extern int arc_no_grow_shift;
extern int arc_shrink_shift;
extern zthr_t *arc_evict_zthr;
extern kmutex_t arc_evict_lock;