diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-03-30 11:18:34 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-05-26 01:15:31 +0200 |
commit | 235a09821c2bc71d9d07f12217ce2ac00db99eba (patch) | |
tree | 559215dc0394dc0753ee07ecf5878d0be7d5510c /fs/ceph/super.h | |
parent | libceph: support for subscribing to "mdsmap.<id>" maps (diff) | |
download | linux-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.h | 1 |
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 |