]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: put notable caps at the front of session's caps list
authorYan, Zheng <zyan@redhat.com>
Thu, 22 Nov 2018 09:28:15 +0000 (17:28 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 21 Oct 2019 02:52:21 +0000 (10:52 +0800)
commitb92d5a796829e0424ba36aee053147591640caa0
tree4d49f2a2365e42ee56310b6877b74fbde6ae736e
parent9d4c676188ca881e088d8ea38b5a754468174318
mds: put notable caps at the front of session's caps list

Notable Capabilities are ones that are being revoked, ones that
have writeable ranges and ones that want exclusive caps or want
file read/write.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit cb6e7184458e64720ad83c266e5e393a80c32697)
src/mds/CInode.cc
src/mds/Capability.cc
src/mds/Capability.h
src/mds/SessionMap.h