summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/arc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index 727b21f3f..5e53f9879 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -4639,6 +4639,13 @@ arc_adjust(void)
}
/*
+ * Re-sum ARC stats after the first round of evictions.
+ */
+ asize = aggsum_value(&arc_size);
+ ameta = aggsum_value(&arc_meta_used);
+
+
+ /*
* Adjust MFU size
*
* Now that we've tried to evict enough from the MRU to get its