]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
BlueFS: stop alloc if unable to replay
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 21 Jan 2016 06:35:39 +0000 (14:35 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 3 Feb 2016 01:59:17 +0000 (09:59 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueFS.cc

index ad676759bde30d2b2fc83f4bcb1dadb7709a7eba..1ad0559195de8f17354b38ca956e1e444577ff60 100644 (file)
@@ -248,6 +248,7 @@ int BlueFS::mount()
   r = _replay();
   if (r < 0) {
     derr << __func__ << " failed to replay log: " << cpp_strerror(r) << dendl;
+    _stop_alloc();
     goto out;
   }