]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
client: fix total write operations perf counter name
authorVenky Shankar <vshankar@redhat.com>
Fri, 28 Mar 2025 10:10:16 +0000 (10:10 +0000)
committerVenky Shankar <vshankar@redhat.com>
Mon, 12 May 2025 08:42:17 +0000 (08:42 +0000)
It collides with total read operations ("rdops") and thereby
not getting reported in perf dump.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/client/Client.cc

index f1f70c1321d81572aceb3a0c249af558ec511bf3..5c8185ab015704a4905d44533069176ac388fd82 100644 (file)
@@ -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());
   }