]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
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>
Mon, 24 Aug 2015 07:55:08 +0000 (10:55 +0300)
commitca1da681be8c9752e126835449b9d539547d8db1
tree57c1764ee9d53533a8207aa0f4d9f8aafb59b026
parentc13dcf9f2d6f5f06ef1bf79ec456df614c5e058b
ceph: EIO all operations after forced umount

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