]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ceph: mount non-default filesystem by name
authorYan, Zheng <zyan@redhat.com>
Fri, 8 Jul 2016 03:25:38 +0000 (11:25 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 01:00:40 +0000 (03:00 +0200)
commit430afbadd6c885557ef2fb8c454bd5bba23a9850
tree68aea0fc952a0a928ff6d409423d970a6057ddc6
parent0cabbd94ff52c4803fc0ad9ad0ad5e43df493ab0
ceph: mount non-default filesystem by name

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

This patch makes user be able to mount filesystem by name. If user
wants to mount non-default filesystem. Client first subscribes to
fsmap.user. Subscribe to mdsmap.<ID> after getting ID of filesystem.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/super.c
fs/ceph/super.h