]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: _exit() intead of exit() for failure injection
authorSage Weil <sage@redhat.com>
Fri, 30 Dec 2016 20:42:44 +0000 (15:42 -0500)
committerSage Weil <sage@redhat.com>
Mon, 9 Jan 2017 22:25:13 +0000 (16:25 -0600)
commit46f4285c90b675a9f70da745365ddeabcaa7a191
tree07ba96af2e4ffc88f265213131153308769f89dd
parentc5d458df94f940760c2af03265e65ce7df58630c
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>
(cherry picked from commit c2fac9c9a92a63b9a456c9e301c4b393de096a97)
src/osd/OSD.cc