]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: fix improper call of shutdown() to mempool_thread 11761/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 3 Nov 2016 07:15:36 +0000 (15:15 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 3 Nov 2016 08:57:33 +0000 (16:57 +0800)
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 <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc

index b54e893775c749c892f84760bd30ca2324d55ce3..859817f0afc52e4dd75ed80155c440e96261ea98 100644 (file)
@@ -4139,7 +4139,6 @@ int BlueStore::mount()
   return 0;
 
  out_stop:
-  mempool_thread.shutdown();
   _kv_stop();
   wal_wq.drain();
   wal_tp.stop();