]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: make mksnap/setlayout wait for unsafe requests on other mds
authorYan, Zheng <zyan@redhat.com>
Fri, 11 Aug 2017 09:52:19 +0000 (17:52 +0800)
committerShinobu Kinjo <shinobu@redhat.com>
Fri, 10 Nov 2017 07:21:09 +0000 (02:21 -0500)
commitebd7a6670fbb9724bf72f7b0587e5c18ade03a48
tree708f9a56230bc88776511b59b3cb60aac9d5ae9a
parenta7c8c8101d4b78b4d6e437620b2c1a38cd752c3f
mds: make mksnap/setlayout wait for unsafe requests on other mds

This guarantees replayed unsafe requests (on other mds) and mksnap/setlayout
get processed in proper order.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit dee3711bd745704fba224dc6f90e88c04cacff58)
src/mds/Locker.cc
src/mds/Locker.h
src/mds/Server.cc