Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quincy: pybind: drop GIL during library callouts #52322

Merged
merged 2 commits into from Aug 4, 2023

Conversation

batrick
Copy link
Member

@batrick batrick commented Jul 5, 2023

backport tracker: https://tracker.ceph.com/issues/61898


backport of #52290
parent tracker: https://tracker.ceph.com/issues/61869

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

batrick and others added 2 commits July 5, 2023 13:31
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>
(cherry picked from commit 5d249a4)
This was missing for rbd_mirror_peer_site_add() and
rbd_get_data_pool_id().

While at it, add a test for data_pool_id().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 1a60f66)

Conflicts:
	src/test/pybind/test_rbd.py: trivial import noise
@batrick batrick requested a review from a team as a code owner July 5, 2023 17:33
@batrick batrick added this to the quincy milestone Jul 5, 2023
@batrick batrick added the pybind label Jul 5, 2023
@github-actions github-actions bot added cephfs Ceph File System rbd tests labels Jul 5, 2023
@batrick batrick requested a review from idryomov July 5, 2023 17:35
Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuriw yuriw merged commit 9b04bfb into ceph:quincy Aug 4, 2023
11 checks passed
@batrick batrick deleted the wip-61898-quincy branch August 8, 2023 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants