diff options
-rw-r--r-- | module/zfs/arc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 9bf527203..1a4cdb441 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -4928,6 +4928,12 @@ arc_init(void) if (zfs_arc_meta_limit > 0 && zfs_arc_meta_limit <= arc_c_max) arc_meta_limit = zfs_arc_meta_limit; + if (zfs_arc_meta_min > 0) { + arc_meta_min = zfs_arc_meta_min; + } else { + arc_meta_min = arc_c_min / 2; + } + if (zfs_arc_num_sublists_per_state < 1) zfs_arc_num_sublists_per_state = num_online_cpus(); |