]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.in: use os._exit when we don't shut down 33950/head
authorSage Weil <sage@redhat.com>
Fri, 13 Mar 2020 12:24:09 +0000 (07:24 -0500)
committerSage Weil <sage@redhat.com>
Fri, 13 Mar 2020 18:29:14 +0000 (13:29 -0500)
commit05204881f2d37cf2f8bd5da190be3a157e775a8c
treeadda6e5fcb9fbbc79a0f4c80ff3f08ee9aa09d9e
parentff7e2c7cfed6d7f7cf4cce61d735fb9f0e29e9d4
ceph.in: use os._exit when we don't shut down

If we experience a timeout, we don't bother shutting down rados, because
it can't currently handle one thread blocked (or running) library init
at the same time that another thread calls rados_shutdown().  This
behavior was recently introduced by c8f353c50bcd2a30be9e3600dba91912b8cd0429

However, sys.exit() runs all kinds of shutdown work that will also
interfere with the running librados threads.

Fix by using os._exit instead of sys.exit.

Fixes: https://tracker.ceph.com/issues/44566
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph.in