commit | 5151842b9d8732d4cbfa8400b40bff894f501b2f | [log] [tgz] |
---|---|---|
author | Greg Edwards <gedwards@ddn.com> | Thu Jul 26 14:39:37 2018 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jul 27 09:10:34 2018 -0600 |
tree | 13b3c4f70d1b2e19d6a787f2c59ccb0cad0301a0 | |
parent | 17d51b10d7773e4618bcac64648f30f12d4078fb [diff] |
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: 63573e359d05 ("bio-integrity: Restore original iterator on verify stage") Signed-off-by: Greg Edwards <gedwards@ddn.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>