mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
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 <sage@redhat.com>
This commit is contained in:
parent
68bf649dd2
commit
c2fac9c9a9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user