Skip to content

Commit

Permalink
os/bluestore: kill dead gc-related counters
Browse files Browse the repository at this point in the history
As the gc logic is deprecated by ceph#12042

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
  • Loading branch information
xiexingguo committed Nov 18, 2016
1 parent 8249503 commit 8170b52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/os/bluestore/BlueStore.cc
Expand Up @@ -2711,10 +2711,6 @@ void BlueStore::_init_logger()
b.add_u64(l_bluestore_txc, "bluestore_txc", "Transactions committed");
b.add_u64(l_bluestore_onode_reshard, "bluestore_onode_reshard",
"Onode extent map reshard events");
b.add_u64(l_bluestore_gc, "bluestore_gc",
"Sum for garbage collection reads");
b.add_u64(l_bluestore_gc_bytes, "bluestore_gc_bytes",
"garbage collected bytes");
b.add_u64(l_bluestore_blob_split, "bluestore_blob_split",
"Sum for blob splitting due to resharding");
logger = b.create_perf_counters();
Expand Down
2 changes: 0 additions & 2 deletions src/os/bluestore/BlueStore.h
Expand Up @@ -93,8 +93,6 @@ enum {
l_bluestore_write_small_new,
l_bluestore_txc,
l_bluestore_onode_reshard,
l_bluestore_gc,
l_bluestore_gc_bytes,
l_bluestore_blob_split,
l_bluestore_last
};
Expand Down

0 comments on commit 8170b52

Please sign in to comment.