]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/cephfs: drop gil during cephfs callouts
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 2 Jul 2023 16:05:08 +0000 (12:05 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Sun, 2 Jul 2023 16:05:08 +0000 (12:05 -0400)
commit5d249a4c978198f1e8974affac0297b71bebada5
treeab1d505da80959c8f98b4e2a0c45ba1677efc420
parenta0082f63e8cff506db268c5fb5fd0c5b51f4156f
pybind/cephfs: drop gil during cephfs callouts

This has disastorous consequences including the possibility of deadlock.
In the best case, you have the rmdir holding the GIL until the MDS
responds!

Fixes: https://tracker.ceph.com/issues/61869
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/pybind/cephfs/cephfs.pyx