Thread (2 messages) 2 messages, 2 authors, 2018-09-20

Re: [PATCH, resend] block: use bio_add_page in bio_iov_iter_get_pages

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-09-20 15:12:09

On 9/20/18 12:28 AM, Christoph Hellwig wrote:
Replace a nasty hack with a different nasty hack to prepare for multipage
bio_vecs.  By moving the temporary page array as far up as possible in
the space allocated for the bio_vec array we can iterate forward over it
and thus use bio_add_page.  Using bio_add_page means we'll be able to
merge physically contiguous pages once support for multipath bio_vecs is
merged.
Applied for 4.20.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help