]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/BaseMgrModule: drop GIL for ceph_send_command 26830/head
authorSage Weil <sage@redhat.com>
Fri, 1 Mar 2019 17:00:55 +0000 (11:00 -0600)
committerPrashant D <pdhange@redhat.com>
Thu, 7 Mar 2019 23:38:35 +0000 (18:38 -0500)
commit26e21355ba30e3256c476512728f3d65976c3a1f
treeab30316321f4efe4292f8c7138d2dff43108724d
parent765979c8f53ef38175a9af93ddd54ef9367b9af0
mgr/BaseMgrModule: drop GIL for ceph_send_command

Otherwise, we can easily deadlock, since other bits of the code hold the
objecter lock and then take the GIL.

Fixes: http://tracker.ceph.com/issues/38537
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 94486a9fb6827157bee2d2483f20222126083b22)

Conflicts:
src/mgr/BaseMgrModule.cc : Resolved in ceph_send_command
src/mgr/BaseMgrModule.cc