Skip to content

Commit

Permalink
Merge pull request #23772 from ifed01/wip-ifed-perf-reset-mimic
Browse files Browse the repository at this point in the history
mimic: os/bluestore: bluestore_buffer_hit_bytes perf counter doesn't reset

Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
yuriw committed Sep 5, 2018
2 parents d09c091 + 1e0648b commit af1a5b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os/bluestore/BlueStore.cc
Expand Up @@ -4095,9 +4095,9 @@ void BlueStore::_init_logger()
"Number of buffers in cache");
b.add_u64(l_bluestore_buffer_bytes, "bluestore_buffer_bytes",
"Number of buffer bytes in cache", NULL, 0, unit_t(BYTES));
b.add_u64(l_bluestore_buffer_hit_bytes, "bluestore_buffer_hit_bytes",
b.add_u64_counter(l_bluestore_buffer_hit_bytes, "bluestore_buffer_hit_bytes",
"Sum for bytes of read hit in the cache", NULL, 0, unit_t(BYTES));
b.add_u64(l_bluestore_buffer_miss_bytes, "bluestore_buffer_miss_bytes",
b.add_u64_counter(l_bluestore_buffer_miss_bytes, "bluestore_buffer_miss_bytes",
"Sum for bytes of read missed in the cache", NULL, 0, unit_t(BYTES));

b.add_u64_counter(l_bluestore_write_big, "bluestore_write_big",
Expand Down

0 comments on commit af1a5b7

Please sign in to comment.