]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: new cap message flags indicate if there is pending capsnap
authorYan, Zheng <zyan@redhat.com>
Mon, 24 Jul 2017 12:32:00 +0000 (20:32 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 18 Aug 2017 07:11:17 +0000 (15:11 +0800)
commitecde54faa601eaba1e2b25989360ccba1e936bd8
tree421df597b6f36d4aa40c0a33a5101704708acca9
parent7148b84e0634d8360fc3606e21a509a99fa7c6f8
mds: new cap message flags indicate if there is pending capsnap

These flags tell mds if there is pending capsnap explictly.
Without this explict notification, mds can only conclude if
client has pending capsnap. The method mds use is inefficient
and error-prone.

Fixes: http://tracker.ceph.com/issues/20752
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/client/Client.cc
src/mds/Locker.cc
src/messages/MClientCaps.h