]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: send cap export message when exporting non-auth caps to auth mds 22780/head
authorYan, Zheng <zyan@redhat.com>
Wed, 16 May 2018 09:54:01 +0000 (17:54 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 3 Jul 2018 21:26:34 +0000 (14:26 -0700)
commit13b46f48a4797bc878daca61db32c2df0f8b3472
tree987a59c6fb35995a0181f7a8edf32bb0619383c3
parent5849a0aebb9882a23adddea34531bb01174a48af
mds: send cap export message when exporting non-auth caps to auth mds

The cap export message makes client open session for the importer mds.
Otherwise client may never open session for the importer mds. The
importer mds can not get cap renew message from the client. It evicts
the client session (opened while importing caps) after a certain time.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24052
(cherry picked from commit 7385b37272af6ce07c6e5649cd8ea00644df7173)
Conflicts:
src/mds/MDSDaemon.h
src/mds/Migrator.cc
src/messages/MExportCapsAck.h
src/mds/MDSDaemon.h
src/mds/Migrator.cc
src/mds/Migrator.h
src/messages/MExportCapsAck.h