]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: don't dump global config holding gil 49487/head
authorMykola Golub <mgolub@suse.com>
Fri, 16 Dec 2022 16:14:29 +0000 (16:14 +0000)
committerMykola Golub <mgolub@suse.com>
Fri, 16 Dec 2022 16:14:29 +0000 (16:14 +0000)
commit133a46e8fd96f24184d129a4b0898c65263221a2
treeac856e9de19bcb949da0533c0bbf9c85c2cede68
parent1e81118e328eddd270911cbfe3dab721cc0b554e
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>
src/mgr/ActivePyModules.cc