Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: reset bi_iter.bi_done after splitting bio
After the bio has been updated to represent the remaining sectors, reset bi_done so bio_rewind_iter() does not rewind further than it should. This resolves a bio_integrity_process() failure on reads where the original request was split. Fixes: 63573e3 ("bio-integrity: Restore original iterator on verify stage") Signed-off-by: Greg Edwards <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information