From 00ff16cb5e9aae21acd3a4d0afa3f21001edd6c2 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Fri, 28 Mar 2025 10:10:16 +0000 Subject: [PATCH] client: fix total write operations perf counter name It collides with total read operations ("rdops") and thereby not getting reported in perf dump. Signed-off-by: Venky Shankar --- src/client/Client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.cc b/src/client/Client.cc index f1f70c1321d..5c8185ab015 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -670,7 +670,7 @@ void Client::_finish_init() plb.add_u64(l_c_rd_ops, "rdops", "Total read IO operations"); plb.add_time(l_c_wr_avg, "writeavg", "Average latency for processing write requests"); plb.add_u64(l_c_wr_sqsum, "writesqsum", "Sum of squares ((to calculate variability/stdev) for write requests"); - plb.add_u64(l_c_wr_ops, "rdops", "Total write IO operations"); + plb.add_u64(l_c_wr_ops, "wrops", "Total write IO operations"); logger.reset(plb.create_perf_counters()); cct->get_perfcounters_collection()->add(logger.get()); } -- 2.39.5