summaryrefslogtreecommitdiff
path: root/fs/jbd2/recovery.c
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2022-09-01 16:34:54 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 06:26:06 +0300
commite7ea1129afab0e63af2c2d0e6e9fb7651f0982b3 (patch)
treec2e00fdf54342f304778ff7aed61974ff6f2ff5e /fs/jbd2/recovery.c
parentfdee117ee86479fd2644bcd9ac2b2469e55722d1 (diff)
downloadlinux-e7ea1129afab0e63af2c2d0e6e9fb7651f0982b3.tar.xz
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/jbd2/recovery.c')
0 files changed, 0 insertions, 0 deletions