Home
last modified time | relevance | path

Searched hist:fa5fa8ec (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dbio.cfa5fa8ec Sat Oct 23 11:21:33 CDT 2021 Pavel Begunkov <asml.silence@gmail.com> block: refactor bio_iov_bvec_set()

Combine bio_iov_bvec_set() and bio_iov_bvec_set_append() and let the
caller to do iov_iter_advance(). Also get rid of __bio_iov_bvec_set(),
which was duplicated in the final binary, and replace a weird
iov_iter_truncate() of a temporal iter copy with min() better reflecting
the intention.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/bcf1ac36fce769a514e19475f3623cd86a1d8b72.1635006010.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>