summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2017-09-11 10:58:55 +0800
committerIlya Dryomov <idryomov@gmail.com>2017-11-13 12:11:28 +0100
commitb3f8d68f38a879daed1eab66c0e19bc293096d34 (patch)
tree023cb0543b51e96e9ef9bcef6ee99837a4a967d6 /fs/reiserfs
parent4deb14a2593dfade102dd94a803a63cf620cfd56 (diff)
downloadlinux-b3f8d68f38a879daed1eab66c0e19bc293096d34.tar.bz2
ceph: handle 'session get evicted while there are file locks'
When session get evicted, all file locks associated with the session get released remotely by mds. File locks tracked by kernel become stale. In this situation, set an error flag on inode. The flag makes further file locks return -EIO. Another option to handle this situation is cleanup file locks tracked kernel. I do not choose it because it is inconvenient to notify user program about the error. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions