]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add helper to force MDS readonly
authorYan, Zheng <zyan@redhat.com>
Fri, 28 Nov 2014 13:09:08 +0000 (21:09 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 2 Dec 2014 02:47:23 +0000 (10:47 +0800)
commite0637b47c702fd6b4bcfff0a653791c2fd9ec495
treea9e6f52577332adad9b1f1fba4e8537294c10994
parent5db3bbf532e2716ca2b05bb51f743506a86b93e8
mds: add helper to force MDS readonly

the helper function marks MDS readonly, then revokes write caps from
clients.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h