ceph: EIO all operations after forced umount
authorYan, Zheng <zyan@redhat.com>
Wed, 1 Jul 2015 08:27:46 +0000 (16:27 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 8 Sep 2015 20:14:28 +0000 (23:14 +0300)
This patch makes try_get_cap_refs() and __do_request() check
if the file system was forced umount, and return -EIO if it was.
This patch also adds a helper function to drops dirty caps and
wakes up blocking operation.

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

diff --cc fs/ceph/addr.c
Simple merge
diff --cc fs/ceph/caps.c
Simple merge
Simple merge
Simple merge
diff --cc fs/ceph/super.c
Simple merge