Skip to content

Commit 00ff16c

Browse files
committed
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 <[email protected]>
1 parent ed87297 commit 00ff16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/Client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ void Client::_finish_init()
670670
plb.add_u64(l_c_rd_ops, "rdops", "Total read IO operations");
671671
plb.add_time(l_c_wr_avg, "writeavg", "Average latency for processing write requests");
672672
plb.add_u64(l_c_wr_sqsum, "writesqsum", "Sum of squares ((to calculate variability/stdev) for write requests");
673-
plb.add_u64(l_c_wr_ops, "rdops", "Total write IO operations");
673+
plb.add_u64(l_c_wr_ops, "wrops", "Total write IO operations");
674674
logger.reset(plb.create_perf_counters());
675675
cct->get_perfcounters_collection()->add(logger.get());
676676
}

0 commit comments

Comments
 (0)