]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: handle MDirUpdate race
authorYan, Zheng <zyan@redhat.com>
Mon, 19 Jun 2017 08:28:41 +0000 (16:28 +0800)
committerJohn Spray <john.spray@redhat.com>
Fri, 23 Jun 2017 16:07:33 +0000 (17:07 +0100)
commit7432adb36ef6c2112fcbcf34d3b13c5d4d202d42
tree969c2d6ac423619be6cf1b38b0fdc974f9c44a18
parentad2a95d98c65501747209fae78745e97584805a0
mds: handle MDirUpdate race

mds may try discover several times for MDirUpdate, rename may kick
in and cause MDCache::path_traverse() to return error.

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