Skip to content

Commit

Permalink
os/bluestore: bluestore_buffer_hit_bytes perf counter doesn't reset
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
  • Loading branch information
ifed01 committed Aug 14, 2018
1 parent 2a6ce09 commit a09c29f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os/bluestore/BlueStore.cc
Expand Up @@ -4282,9 +4282,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(UNIT_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(UNIT_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(UNIT_BYTES));

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

0 comments on commit a09c29f

Please sign in to comment.