Merge pull request #12726 from liewegas/wip-18372

osd: _exit() intead of exit() for failure injection

Reviewed-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
Sage Weil 2017-01-09 16:24:22 -06:00 committed by GitHub
commit d4f033c687

View File

@ -4795,7 +4795,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);