summary refs log tree commit diff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2022-09-01 21:34:54 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-09-11 20:26:06 -0700
commite7ea1129afab0e63af2c2d0e6e9fb7651f0982b3 (patch)
treec2e00fdf54342f304778ff7aed61974ff6f2ff5e /fs/gfs2
parentfdee117ee86479fd2644bcd9ac2b2469e55722d1 (diff)
downloadlinux-e7ea1129afab0e63af2c2d0e6e9fb7651f0982b3.tar.gz
fs/buffer: replace ll_rw_block()
ll_rw_block() is not safe for the sync IO path because it skip buffers
which has been locked by others, it could lead to false positive EIO
when submitting read IO. So stop using ll_rw_block(), switch to use new
helpers which could guarantee buffer locked and submit IO if needed.

Link: https://lkml.kernel.org/r/20220901133505.2510834-4-yi.zhang@huawei.com
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions