]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: properly reconnect client caps after loading inodes 21900/head
authorYan, Zheng <zyan@redhat.com>
Wed, 2 May 2018 02:23:33 +0000 (10:23 +0800)
committerPrashant D <pdhange@redhat.com>
Wed, 23 May 2018 06:02:14 +0000 (02:02 -0400)
commit181b215abe3c2db8d15365b3afe5da87fe209689
tree63e2976ccc0792ca31332ad7781fca17bd911600
parent0fb21b6dc239a7a040072d4ef24ea0a56dd75c5d
mds: properly reconnect client caps after loading inodes

Commit e43c02d6 "mds: filter out blacklisted clients when importing
caps" makes MDCache::process_imported_caps() ignore clients that are
not in MDCache::rejoin_imported_session_map. The map does not contain
clients from which mds has received reconnect messages. This causes
some client caps (corresponding inodes were not in cache when mds was
in reconnect state) to get dropped.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 48f60e7f274de9d76499816a528eff859bb161e3)

Conflicts:
src/mds/MDCache.h: Resolved for rejoin_recovered_client and
rejoin_open_sessions_finish
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc