]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: properly do null snapflush
authorYan, Zheng <zyan@redhat.com>
Wed, 5 Jul 2017 09:22:46 +0000 (17:22 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 6 Jul 2017 07:26:49 +0000 (15:26 +0800)
commit4b95fbe327814049ff63cb1e1dc4ed0e7cbd3874
tree4a3c5a989f0ff66ef4c093780aa230f81ebe204d
parenta0b8fa6944ccc80b580d29406df8a727574e8b1a
mds: properly do null snapflush

Client always sends snapflushs in snapid order. If mds receives
a snapflush, but it's not the oldest one in client_need_snapflush,
it means client didn't make change for the older snaps.

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