]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: shut down finisher before objecter 14683/head
authorJohn Spray <john.spray@redhat.com>
Wed, 8 Mar 2017 12:13:46 +0000 (12:13 +0000)
committerNathan Cutler <ncutler@suse.com>
Thu, 20 Apr 2017 13:21:14 +0000 (15:21 +0200)
commitb52c5088618011a569f157616c5c667c2fc1e9fe
tree7e77c087e663c3e21ffea16a4ace6a8bb0ec096d
parent8df896055366d777ca309dd4a7840f2a2a5a72cc
mds: shut down finisher before objecter

Some of the finisher contexts would try to call into Objecter.
We mostly are protected from this by mds_lock+the stopping
flag, but at the Filer level there's no mds_lock, so in the
case of file size probing we have a problem.

Fixes: http://tracker.ceph.com/issues/19204
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 177a97d5c55ee6a2d5dcd3cf0893546190b10f7a)

Conflicts:
        src/mds/MDSRank.cc (no purge_queue.shutdown() in jewel because jewel
        does not have 8ebf7d95a9071de24bb1e56a6423c505169cb4de)
src/mds/MDSRank.cc