]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: make stopping mds export strays and subtree at the same time 21346/head
authorYan, Zheng <zyan@redhat.com>
Mon, 2 Apr 2018 03:26:22 +0000 (11:26 +0800)
committerPrashant D <pdhange@redhat.com>
Wed, 11 Apr 2018 09:08:02 +0000 (05:08 -0400)
commitabaabece23dc21e7710b02f876fbb78e020ee176
tree9445d938b0d2170db60fd47b0c87d54276edefec
parent13e51733d4782d548fe370c920b39991726a78aa
mds: make stopping mds export strays and subtree at the same time

Stopping mds also handle client requests now. Client requests may
continue to create strays dentries. So mds should start to export
auth subtrees immediately after its state transits to 'stopping'

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 436a56a2906fb3a3925cbb081342b4544aef5022)
src/mds/MDCache.cc