summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-03-30 11:18:34 +0200
committerIlya Dryomov <idryomov@gmail.com>2016-05-26 01:15:31 +0200
commit235a09821c2bc71d9d07f12217ce2ac00db99eba (patch)
tree559215dc0394dc0753ee07ecf5878d0be7d5510c /fs/ceph/super.h
parentlibceph: support for subscribing to "mdsmap.<id>" maps (diff)
downloadlinux-235a09821c2bc71d9d07f12217ce2ac00db99eba.tar.xz
linux-235a09821c2bc71d9d07f12217ce2ac00db99eba.zip
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 e705c4d612d7..db2200f5ba80 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