]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: handle mksnap vs resolve_snapname race
authorYan, Zheng <zyan@redhat.com>
Tue, 8 Aug 2017 03:06:34 +0000 (11:06 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 9 Feb 2018 10:41:27 +0000 (18:41 +0800)
commit280ab1c8cf38f2428ea7eb7d9ffe1b35c36b4513
tree5c1126b1f7cba754ff892f9e9cdb942d34f5e2ae
parent471046f449e5e5b7e3e6faf4e5686b9a0ccdb3cb
mds: handle mksnap vs resolve_snapname race

In multimds setup, it's possible that mds receives snap update message
after receiving client requests that lookup the newly created snapshot.

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