]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: don't dump global config holding gil 50194/head
authorMykola Golub <mgolub@suse.com>
Fri, 16 Dec 2022 16:14:29 +0000 (16:14 +0000)
committerMykola Golub <mgolub@suse.com>
Tue, 21 Feb 2023 08:53:05 +0000 (10:53 +0200)
commit2c5e337ecc66fd3c3d5648be2d3d81fc57ae8774
tree1ca14766fda7207fef07f3d8aeeeb889cb73e3f3
parentc841e8502e16d90aade047c61d98a3656b7e98c2
mgr: don't dump global config holding gil

When dumping the config the cpython may drop/take the gil which
may lead to a deadlock when another cpython thread is trying to
get the config lock while holding the gil.

Fixes: https://tracker.ceph.com/issues/58269
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 133a46e8fd96f24184d129a4b0898c65263221a2)
src/mgr/ActivePyModules.cc