From 86c3ed40e111e98cbffd780afbac0133450e2c4b Mon Sep 17 00:00:00 2001 From: ofthesun9 Date: Mon, 23 Oct 2023 22:41:29 +0200 Subject: [PATCH] "ARC prefetch metadata accesses:" appears twice in the output. The first occurrence should be "ARC prefetch data accesses:" Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: ofthesun9 Closes #15427 --- cmd/arc_summary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/arc_summary b/cmd/arc_summary index 426e020705..9c69ec4f8c 100755 --- a/cmd/arc_summary +++ b/cmd/arc_summary @@ -711,7 +711,7 @@ def section_archits(kstats_dict): pd_total = int(arc_stats['prefetch_data_hits']) +\ int(arc_stats['prefetch_data_iohits']) +\ int(arc_stats['prefetch_data_misses']) - prt_2('ARC prefetch metadata accesses:', f_perc(pd_total, all_accesses), + prt_2('ARC prefetch data accesses:', f_perc(pd_total, all_accesses), f_hits(pd_total)) pd_todo = (('Prefetch data hits:', arc_stats['prefetch_data_hits']), ('Prefetch data I/O hits:', arc_stats['prefetch_data_iohits']),