]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix race between cross-authorty rename and mds failure 15125/head
authorYan, Zheng <zyan@redhat.com>
Tue, 30 May 2017 12:10:55 +0000 (20:10 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 30 May 2017 12:39:28 +0000 (20:39 +0800)
commita1842eb262a16215b82d22e78c7978bd35874512
tree855dd3232c2bdf5d43b6539b10f784543475a160
parentba3fd506c77fb8a4016d4eed45b02f670a8f8124
mds: fix race between cross-authorty rename and mds failure

If auth mds of rename srcdn fails, bystander mds may need to rollback
corresponding slave rename. If corresponding slave rename is still
work-in-progress, we should interrupt the slave rename, make it do
nothing.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDSDaemon.h
src/mds/Server.cc
src/messages/MMDSSlaveRequest.h