]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: mount non-default filesystem by name
authorYan, Zheng <zyan@redhat.com>
Wed, 6 Apr 2016 13:11:46 +0000 (21:11 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 10 Jun 2016 01:30:20 +0000 (09:30 +0800)
commit53c2255f204f2a38a70ea853c7f8cf0752f40641
tree3fbe2ee16a406dcf3c651acb3c52e2ebc3aaf021
parent049debf74f7b25d19e1519b7bf99817630cd1e84
client: mount non-default filesystem by name

To mount non-default filesytem, user needs to provide mds namespace ID.
This is inconvenience.

This patch makes user be able to mount filesystem by name. To do this,
client first subscribes to FSMapUser. Subscribe to mdsmap.<ID> after
knowning ID of the filesystem.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/client/Client.cc
src/client/Client.h
src/common/config_opts.h