]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: move Finisher to unlocked shutdown 10142/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 2 Jul 2016 01:06:17 +0000 (21:06 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 5 Jul 2016 20:57:03 +0000 (16:57 -0400)
commitb1d6689b6cae579d5f1b2047fd3c653cda422454
tree43130a1a9ece21ca216c2b5f22a1a2642f64625d
parent2daf3ef220c363badb174c6bd199e66d6ab5a61b
mds: move Finisher to unlocked shutdown

This commit resolves a deadlock reported in i16042 where the thread calling
MDSRankDispatcher::shutdown would hold the mds_lock while asynchronous
callbacks in the Finisher would attempt to lock mds_lock.

For simplicity, I merged the finisher stop with the messenger shutdown as both
need the mds_lock dropped.

Fixes: http://tracker.ceph.com/issues/16042
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDSRank.cc