From: xie xingguo Date: Thu, 3 Nov 2016 07:15:36 +0000 (+0800) Subject: os/bluestore: fix improper call of shutdown() to mempool_thread X-Git-Tag: v11.1.0~439^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11761%2Fhead;p=ceph.git os/bluestore: fix improper call of shutdown() to mempool_thread Because below here we haven't called mempool_thread.init() yet, and call to mempool_thread.shutdown() will therefore raise an assert instead. Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index b54e893775c7..859817f0afc5 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -4139,7 +4139,6 @@ int BlueStore::mount() return 0; out_stop: - mempool_thread.shutdown(); _kv_stop(); wal_wq.drain(); wal_tp.stop();