]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid check session connection's features when issuing caps
authorYan, Zheng <zyan@redhat.com>
Mon, 11 Mar 2019 12:05:25 +0000 (20:05 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 10 Apr 2019 21:54:44 +0000 (23:54 +0200)
commit9a6aa9636fe1204150061510641f78814ad344c7
tree6d1f882040f2c6d5fc595741653cb7b54310ccd3
parentc09e90d1847fc4ffdd7384c9adf7f60c13479095
mds: avoid check session connection's features when issuing caps

Session connection can be null for imported session. The fix is
recording which features client does not support in cap when cap
is newly added.

Fixes: https://tracker.ceph.com/issues/38652
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 63410d858a5b52f485a270dbc4b58e45abf1e923)
src/mds/CInode.cc
src/mds/CInode.h
src/mds/Capability.cc
src/mds/Capability.h
src/mds/Locker.cc
src/mds/MDCache.cc