]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't purge strays when mds is in clientreplay state 13095/head
authorYan, Zheng <zyan@redhat.com>
Wed, 25 Jan 2017 07:28:23 +0000 (15:28 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 25 Jan 2017 07:48:16 +0000 (15:48 +0800)
commit86bbc7fff02668077f27d0924ba3efe6544b77f6
tree975333180c2b913480548183033d4e398e821732
parentafe889cbc5baab196567c2aad01f49fe90901fda
mds: don't purge strays when mds is in clientreplay state

MDS does not trim log when it's in clientreplay state. If mds hang
at clientreplay state (due to bug), purging strays can submit lots
of log events and create very large mds log.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.h
src/mds/MDSRank.cc
src/mds/StrayManager.cc
src/mds/StrayManager.h