summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorSage Weil2010-06-21 22:45:04 +0200
committerSage Weil2010-08-02 05:11:41 +0200
commit154f42c2c3c3b66a7a63dad5648e8a9860a32af9 (patch)
tree408beec027a62dcb67f212b07590039aea22866b /fs/ceph/mds_client.h
parentceph: connect to export targets if mds is laggy (diff)
downloadkernel-qcow2-linux-154f42c2c3c3b66a7a63dad5648e8a9860a32af9.tar.gz
kernel-qcow2-linux-154f42c2c3c3b66a7a63dad5648e8a9860a32af9.tar.xz
kernel-qcow2-linux-154f42c2c3c3b66a7a63dad5648e8a9860a32af9.zip
ceph: connect to export targets on cap export
When we get a cap EXPORT message, make sure we are connected to all export targets to ensure we can handle the matching IMPORT. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mds_client.h')
-rw-r--r--fs/ceph/mds_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index 8f2126321f2d..c86be30e8707 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -364,4 +364,7 @@ extern void ceph_mdsc_lease_send_msg(struct ceph_mds_session *session,
extern void ceph_mdsc_handle_map(struct ceph_mds_client *mdsc,
struct ceph_msg *msg);
+extern void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc,
+ struct ceph_mds_session *session);
+
#endif