From a47e20aeae1cbc2513c90b57d9a0d1db97bc0779 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Thu, 3 Nov 2016 15:15:36 +0800 Subject: [PATCH] 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 --- src/os/bluestore/BlueStore.cc | 1 - 1 file changed, 1 deletion(-) 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(); -- 2.47.3