From: xie xingguo Date: Fri, 18 Nov 2016 03:30:42 +0000 (+0800) Subject: os/bluestore: kill dead gc-related counters X-Git-Tag: v11.1.0~231^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8170b52e6b49bcfdffa3432add72f64808daa6cb;p=ceph.git os/bluestore: kill dead gc-related counters As the gc logic is deprecated by https://github.com/ceph/ceph/pull/12042 Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index b27e3c51bfc8e..e58fba13e5de5 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -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(); diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index 7069dc3e770c3..4e93f96e8c971 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -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 };