diff options
author | Christoph Hellwig <hch@lst.de> | 2022-05-24 17:39:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-05-28 05:35:55 +0300 |
commit | 403d50341cce6b5481a92eb481e6df60b1f49b55 (patch) | |
tree | fb17e0c36191fbf240e1ea1d07cd4dde4fa6876f /include | |
parent | 8a177a36da6c54c98b8685d4f914cb3637d53c0d (diff) | |
download | linux-403d50341cce6b5481a92eb481e6df60b1f49b55.tar.xz |
block: take destination bvec offsets into account in bio_copy_data_iter
Appartly bcache can copy into bios that do not just contain fresh
pages but can have offsets into the bio_vecs. Restore support for tht
in bio_copy_data_iter.
Fixes: f8b679a070c5 ("block: rewrite bio_copy_data_iter to use bvec_kmap_local and memcpy_to_bvec")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220524143919.1155501-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions