]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: drop GIL around set_uri, set_health_checks
authorJohn Spray <john.spray@redhat.com>
Tue, 17 Oct 2017 22:16:22 +0000 (18:16 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 23:03:29 +0000 (23:03 +0000)
commit1430e448ff93f73b8e8fba61f591ce4ec8c02380
tree81c87f33b34ee6e142f121e9f1bb5e454a45b2bb
parent2a94381b53241f9ecb98c4cc605ef6547b910ca2
mgr: drop GIL around set_uri, set_health_checks

These didn't need to keep the GIL to go and do their
pure C++ parts, and by keeping it they could deadlock
while trying to take ActiveMgrModules::lock.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 27ee148e040ebaf512f8e11f814b3a7c8cf21f8b)
src/mgr/BaseMgrModule.cc