From 37b00fb0398e42d31aff174c17e650584b873661 Mon Sep 17 00:00:00 2001 From: George Amanakis Date: Mon, 21 Sep 2020 12:26:24 -0400 Subject: [PATCH] Update documentation of l2arc_mfuonly with regard to evicted_l2_eligibile_mru. Even if l2arc_mfuonly is enabled, this is not reflected in evicted_l2_eligible_mru as this information is useful for deciding whether to toggle l2arc_mfuonly depending on the current workload. Reviewed-by: Brian Behlendorf Signed-off-by: George Amanakis Closes #10945 --- man/man5/zfs-module-parameters.5 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index a5f080e2d..8778b53d3 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -218,7 +218,10 @@ If accessed again they are counted as MRU and the \fBl2arc_mru_asize\fR arcstat will not be 0. The ARC status of L2ARC buffers when they were first cached in L2ARC can be seen in the \fBl2arc_mru_asize\fR, \fBl2arc_mfu_asize\fR and \fBl2arc_prefetch_asize\fR arcstats when importing the pool or onlining a cache -device if persistent L2ARC is enabled. +device if persistent L2ARC is enabled. The \fBevicted_l2_eligible_mru\fR +arcstat does not take into account if this option is enabled as the information +provided by the evicted_l2_eligible_* arcstats can be used to decide if +toggling this option is appropriate for the current workload. .sp Use \fB0\fR for no (default) and \fB1\fR for yes. .RE