Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: ensure iov_iter advances for added pages
There are cases where a bio may not accept additional pages, and the iov needs to advance to the last data length that was accepted. The zone append used to handle this correctly, but was inadvertently broken when the setup was made common with the normal r/w case. Fixes: 576ed91 ("block: use bio_add_page in bio_iov_iter_get_pages") Fixes: c58c007 ("block/bio: remove duplicate append pages code") Signed-off-by: Keith Busch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information