commit | 48fec5d0a504dfbb302cb1dd24ebb0b82a46cce9 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Wed Jul 01 16:27:46 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Tue Sep 08 23:14:28 2015 +0300 |
tree | 41b4e0cf38951bf49372e1272a08c8264bf3d943 | |
parent | 64291f7db5bd8150a74ad2036f1037e6a0428df2 [diff] |
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>