]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: handle MDS 'force readonly' message
authorYan, Zheng <zyan@redhat.com>
Fri, 28 Nov 2014 13:13:25 +0000 (21:13 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 2 Dec 2014 02:47:23 +0000 (10:47 +0800)
commit6b59eade276cc0029af1ebe2987f35696337377d
treed702d74f0a380e765fb2190053c5b2b0efe162ad
parentf716903858bee8d7dfbf9e8aba0f4873b12a711b
client: handle MDS 'force readonly' message

make client return -EROFS for write when MDS is readonly, instead of
waiting forever.

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