aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/file.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2019-07-25 20:16:45 +0800
committerIlya Dryomov <idryomov@gmail.com>2019-09-16 12:06:24 +0200
commitff5d913dfc7142974eb1694d5fd6284658e46bc6 (patch)
treee32766142b247cb0ce44bfc35421d84fad567bb3 /fs/ceph/file.c
parentceph: add helper function that forcibly reconnects to ceph cluster. (diff)
downloadlinux-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