From: xie xingguo Date: Thu, 21 Jan 2016 06:35:39 +0000 (+0800) Subject: BlueFS: stop alloc if unable to replay X-Git-Tag: v10.0.4~57^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=65e1a211d750fcca77e53b16d231d42038ae0cb1;p=ceph.git BlueFS: stop alloc if unable to replay Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index ad676759bde..1ad0559195d 100644 --- a/src/os/bluestore/BlueFS.cc +++ b/src/os/bluestore/BlueFS.cc @@ -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; }