mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
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>
This commit is contained in:
parent
041296bdb1
commit
aa850b9944
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user