From 65e1a211d750fcca77e53b16d231d42038ae0cb1 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Thu, 21 Jan 2016 14:35:39 +0800 Subject: [PATCH] BlueFS: stop alloc if unable to replay Signed-off-by: xie xingguo --- src/os/bluestore/BlueFS.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index ad676759bde30..1ad0559195de8 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; } -- 2.39.5