]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: hold GIL while generating a typed option value 26445/head
authorSage Weil <sage@redhat.com>
Fri, 15 Feb 2019 00:21:38 +0000 (18:21 -0600)
committerSage Weil <sage@redhat.com>
Fri, 15 Feb 2019 13:12:09 +0000 (07:12 -0600)
commitc4e2965a4b83f39927e1cfc47ff6941cac76afb7
tree9e089748d08d792ef6f4cd697c794d09fcf2ea12
parent9ad2283db555a38b4951e42001ba884ba2dd86bf
mgr: hold GIL while generating a typed option value

Drop the GIL while looking up the module and option value.  Retake
it before calling get_typed_option_value(), where we generate the
Python objects for the value.

Fixes: http://tracker.ceph.com/issues/38123
Fixes: http://tracker.ceph.com/issues/38204
Fixes: http://tracker.ceph.com/issues/38292
Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/ActivePyModules.cc
src/mgr/BaseMgrModule.cc
src/mgr/PyModule.cc