summaryrefslogtreecommitdiff
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-06-21 13:45:04 -0700
committerSage Weil <sage@newdream.net>2010-08-01 20:11:41 -0700
commit154f42c2c3c3b66a7a63dad5648e8a9860a32af9 (patch)
tree408beec027a62dcb67f212b07590039aea22866b /fs/ceph/mds_client.h
parentcb170a22153730eb9c82b6c85ead2001dba6c41a (diff)
downloadlwn-154f42c2c3c3b66a7a63dad5648e8a9860a32af9.tar.gz
lwn-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