]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/volumes: log mutex locks to help debug deadlocks
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 22 Mar 2021 18:48:46 +0000 (11:48 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 22 Apr 2021 16:17:41 +0000 (09:17 -0700)
commit63a90319da5670457ccf04077e032d4f3db6c107
tree6277a34185b1064e370b79fee936c80efa40ddad
parentfd4637f47528a7bf59ecb9107acc619eb6fa41cc
pybind/mgr/volumes: log mutex locks to help debug deadlocks

There is a hang in get_job which is holding the mutex [1]. This debug
output is meant to help find this issue in upstream QA logs.

[1] https://tracker.ceph.com/issues/49605#note-5
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit cf2a1ad651208242868a2a7fdf25006f30ad9cc8)
src/pybind/mgr/mgr_util.py
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/async_job.py