summaryrefslogtreecommitdiffstats
path: root/src/os/bluestore/BlueStore.cc
diff options
context:
space:
mode:
authorxie xingguo <xie.xingguo@zte.com.cn>2017-06-22 07:26:27 +0200
committerxie xingguo <xie.xingguo@zte.com.cn>2017-06-22 08:37:31 +0200
commitaa850b9944530a5d23020ccd7330f50bc32d38c6 (patch)
tree773db713c75f8b0c75dcc9939a0108d1b2730b3b /src/os/bluestore/BlueStore.cc
parentos/bluestore: add "0x" prefix for hex outputs (diff)
downloadceph-aa850b9944530a5d23020ccd7330f50bc32d38c6.tar.xz
ceph-aa850b9944530a5d23020ccd7330f50bc32d38c6.zip
os/bluestore: avoid initializing finishers in constructor
This is a follow up change of https://github.com/ceph/ceph/pull/15666, which I forget to update. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Diffstat (limited to '')
-rw-r--r--src/os/bluestore/BlueStore.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc
index b1360584417..eac073aecbb 100644
--- a/src/os/bluestore/BlueStore.cc
+++ b/src/os/bluestore/BlueStore.cc
@@ -3437,17 +3437,6 @@ BlueStore::BlueStore(CephContext *cct,
_init_logger();
cct->_conf->add_observer(this);
set_cache_shards(1);
-
- if (cct->_conf->bluestore_shard_finishers) {
- m_finisher_num = cct->_conf->osd_op_num_shards;
- }
-
- for (int i = 0; i < m_finisher_num; ++i) {
- ostringstream oss;
- oss << "finisher-" << i;
- Finisher *f = new Finisher(cct, oss.str(), "finisher");
- finishers.push_back(f);
- }
}
BlueStore::~BlueStore()