]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD.cc: remove osd_lock for bench 36664/head
authorNeha Ojha <nojha@redhat.com>
Fri, 17 Jul 2020 16:52:56 +0000 (16:52 +0000)
committerNathan Cutler <ncutler@suse.com>
Sat, 15 Aug 2020 13:29:50 +0000 (15:29 +0200)
commit0d4f93b7ef90674a98f137133737ef549f49777b
tree90d95606626f42c3f34f6e31a5253374eccc8583
parent35adebe94e8b0a17e7b56379a8bf24e5f7b8ced4
osd/OSD.cc: remove osd_lock for bench

8987f94416f453829eae6dda08837ef5a42531c6 introduced the osd_lock for the
bench command. Taking the osd_lock in bench can lead to deadlocks, causing the
command to hang as seen in https://tracker.ceph.com/issues/43888.

Fixes: https://tracker.ceph.com/issues/43888
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit d6be0d3f9a091b8a2e20ea607434314d395a821c)
src/osd/OSD.cc