From: Sage Weil Date: Fri, 30 Dec 2016 20:42:44 +0000 (-0500) Subject: osd: _exit() intead of exit() for failure injection X-Git-Tag: v12.0.0~246^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c2fac9c9a92a63b9a456c9e301c4b393de096a97;p=ceph.git osd: _exit() intead of exit() for failure injection This avoids a segv from code that doesn't easily shut down (e.g., bluestore). Fixes: http://tracker.ceph.com/issues/18372 Signed-off-by: Sage Weil --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 70f39fde5b4..3906fe22149 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -4785,7 +4785,7 @@ void OSD::RemoveWQ::_process( if (cct->_conf->osd_inject_failure_on_pg_removal) { generic_derr << "osd_inject_failure_on_pg_removal" << dendl; - exit(1); + _exit(1); } t.remove_collection(coll);