summaryrefslogtreecommitdiff
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-03-30 09:18:34 (GMT)
committerIlya Dryomov <idryomov@gmail.com>2016-05-25 23:15:31 (GMT)
commit235a09821c2bc71d9d07f12217ce2ac00db99eba (patch)
tree559215dc0394dc0753ee07ecf5878d0be7d5510c /fs/ceph/super.h
parent737cc81ead34bcef0b1f6ea8322228e4378cf21a (diff)
downloadlinux-235a09821c2bc71d9d07f12217ce2ac00db99eba.tar.xz
ceph: multiple filesystem support
To access non-default filesystem, we just need to subscribe to mdsmap.<MDS_NAMESPACE_ID> and add a new mount option for mds namespace id. Signed-off-by: Yan, Zheng <zyan@redhat.com> [idryomov@gmail.com: switch to a new libceph API] Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index e705c4d..db2200f 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -62,6 +62,7 @@ struct ceph_mount_options {
int cap_release_safety;
int max_readdir; /* max readdir result (entires) */
int max_readdir_bytes; /* max readdir result (bytes) */
+ int mds_namespace;
/*
* everything above this point can be memcmp'd; everything below