diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-01-26 06:53:38 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-28 05:16:39 -0700 |
| commit | 4ad357e39b2ecd5da7bcc7e840ee24d179593cd5 (patch) | |
| tree | 4fc1f7a70d872cdfc9607a8525842ca171c13b0a /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 8dd5e7c75d7bb2635c7efd219ff20693fc24096a (diff) | |
iomap: fix submission side handling of completion side errors
The "if (dio->error)" in iomap_dio_bio_iter exists to stop submitting
more bios when a completion already return an error. Commit cfe057f7db1f
("iomap_dio_actor(): fix iov_iter bugs") made it revert the iov by
"copied", which is very wrong given that we've already consumed that
range and submitted a bio for it.
Fixes: cfe057f7db1f ("iomap_dio_actor(): fix iov_iter bugs")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
