]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/rbd: drop GIL when calling into librbd
authorIlya Dryomov <idryomov@gmail.com>
Mon, 3 Jul 2023 11:34:30 +0000 (13:34 +0200)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 5 Jul 2023 17:31:12 +0000 (13:31 -0400)
commitf59a49aececcf0912c5ec307d4227d8453ad5ee2
tree11dee36248bca82240d2eba0a14e4c34cd5c799a
parente061257a830466b4e47a75690cdd05109069b7bc
pybind/rbd: drop GIL when calling into librbd

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 1a60f66b0a13089c789e2e056b925ac6fef75021)
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py