]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: avoid calling clientreplay_done() prematurely
authorYan, Zheng <zyan@redhat.com>
Wed, 6 Mar 2019 08:08:05 +0000 (16:08 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 6 Mar 2019 08:15:26 +0000 (16:15 +0800)
commit3ae56ab82b69929a22251f7686b60ef1ebf471d3
tree4cebeab401a7cfb7b2fdb2d9c6a25e8f05c0c26b
parenta277b5c1fee510c3716a0b495370c46eeb33d496
mds: avoid calling clientreplay_done() prematurely

maybe_clientreplay_done() does not correctly handle the case that
replayed request is in the finished_queue (hasn't been dispatched)

Fixes: https://tracker.ceph.com/issues/38597
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/Server.cc