]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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, 9 Jun 2025 06:16:53 +0000 (11:46 +0530)
It collides with total read operations ("rdops") and thereby
not getting reported in perf dump.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 00ff16cb5e9aae21acd3a4d0afa3f21001edd6c2)

src/client/Client.cc

index b04900912f91b06128956940f6d1ecabfaa22217..2607313d4e2f6e60a67de7dc24e68396435647a9 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());
   }