summaryrefslogtreecommitdiffstats
path: root/samples/watch_queue
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2022-09-01 15:34:54 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 05:26:06 +0200
commite7ea1129afab0e63af2c2d0e6e9fb7651f0982b3 (patch)
treec2e00fdf54342f304778ff7aed61974ff6f2ff5e /samples/watch_queue
parentfs/buffer: add some new buffer read helpers (diff)
downloadlinux-e7ea1129afab0e63af2c2d0e6e9fb7651f0982b3.tar.xz
linux-e7ea1129afab0e63af2c2d0e6e9fb7651f0982b3.zip
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 'samples/watch_queue')
0 files changed, 0 insertions, 0 deletions