svn commit: r338456 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Mark Johnston
markj at FreeBSD.org
Tue Sep 4 16:47:11 UTC 2018
Author: markj
Date: Tue Sep 4 16:47:08 2018
New Revision: 338456
URL: https://svnweb.freebsd.org/changeset/base/338456
Log:
MFC r338416:
Re-compute the ARC size before computing the MFU target.
Modified:
stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Tue Sep 4 16:45:08 2018 (r338455)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Tue Sep 4 16:47:08 2018 (r338456)
@@ -4119,6 +4119,12 @@ 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
More information about the svn-src-stable
mailing list