]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: allow connecting to mds whose rank >= mdsmap::m_max_mds
authorYan, Zheng <zyan@redhat.com>
Tue, 28 Mar 2017 09:04:13 +0000 (17:04 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 4 May 2017 07:19:20 +0000 (09:19 +0200)
commit21e13390a34afc29e2551b045661c23d0257590d
treef22efeadc70c3ca17cdf5ddb4cfd41d1f5a36d33
parente4a48c702daf6e150305de940e1918b26229d8e2
ceph: allow connecting to mds whose rank >= mdsmap::m_max_mds

mdsmap::m_max_mds is the expected count of active mds. It's not the
max rank of active mds. User can decrease mdsmap::m_max_mds, but does
not stop mds whose rank >= mdsmap::m_max_mds.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/debugfs.c
fs/ceph/mds_client.c
fs/ceph/mdsmap.c
include/linux/ceph/mdsmap.h