]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: send cap export message when exporting non-auth caps to auth mds 22026/head
authorYan, Zheng <zyan@redhat.com>
Wed, 16 May 2018 09:54:01 +0000 (17:54 +0800)
committerYan, Zheng <zyan@redhat.com>
Sat, 19 May 2018 09:32:30 +0000 (17:32 +0800)
commit7385b37272af6ce07c6e5649cd8ea00644df7173
tree891ce193f7ec6e31f66b6a8f16eb558bb1bf52ee
parent0edab5fcc36d21ea30ae6cfb16c0222e1aeca4e8
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
src/mds/MDSDaemon.h
src/mds/Migrator.cc
src/mds/Migrator.h
src/messages/MExportCapsAck.h