]> 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>
Tue, 5 Feb 2019 09:06:15 +0000 (17:06 +0800)
commit066ef3f33eafd43ea50c48ef8f0bddf51ac0c252
treea27b5f907ca59a3fc79541d13b737d6c3f635c17
parentf62efd0536ab25274b7a43e549aefb15ef6fda7b
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)

 Conflicts:
src/mds/Capability.cc
src/mds/CInode.cc
src/mds/Capability.cc
src/mds/Capability.h
src/mds/SessionMap.h