diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-07-25 20:16:45 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-09-16 12:06:24 +0200 |
commit | ff5d913dfc7142974eb1694d5fd6284658e46bc6 (patch) | |
tree | e32766142b247cb0ce44bfc35421d84fad567bb3 /fs/ceph/file.c | |
parent | ceph: add helper function that forcibly reconnects to ceph cluster. (diff) | |
download | linux-dev-ff5d913dfc7142974eb1694d5fd6284658e46bc6.tar.xz linux-dev-ff5d913dfc7142974eb1694d5fd6284658e46bc6.zip |
ceph: return -EIO if read/write against filp that lost file locks
After mds evicts session, file locks get lost sliently. It's not safe to
let programs continue to do read/write.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions