diff options
-rw-r--r-- | include/sys/arc.h | 5 | ||||
-rw-r--r-- | module/zfs/arc.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/include/sys/arc.h b/include/sys/arc.h index dd9b128bc..443597df0 100644 --- a/include/sys/arc.h +++ b/include/sys/arc.h @@ -150,6 +150,11 @@ void l2arc_fini(void); void l2arc_start(void); void l2arc_stop(void); +/* Global tunings */ +extern int zfs_write_limit_shift; +extern unsigned long zfs_write_limit_max; +extern kmutex_t zfs_write_limit_lock; + #ifdef __cplusplus } #endif diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 55f1909c5..829b4d9c3 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -147,10 +147,6 @@ static kmutex_t arc_reclaim_thr_lock; static kcondvar_t arc_reclaim_thr_cv; /* used to signal reclaim thr */ static uint8_t arc_thread_exit; -extern int zfs_write_limit_shift; -extern uint64_t zfs_write_limit_max; -extern kmutex_t zfs_write_limit_lock; - /* number of bytes to prune from caches when at arc_meta_limit is reached */ uint_t arc_meta_prune = 1048576; |