Thread (3 messages) 3 messages, 3 authors, 2019-02-28

Re: [PATCH] block: optimize bvec iteration in bvec_iter_advance

From: Jens Axboe <axboe@kernel.dk>
Date: 2019-02-28 20:49:52

On 2/28/19 9:00 AM, Christoph Hellwig wrote:
There is no need to only iterate in chunks of PAGE_SIZE or less in
bvec_iter_advance, given that the callers pass in the chunk length that
they are operating on - either that already is less than PAGE_SIZE
because they do classic page-based iteration, or it is larger because
the caller operates on multi-page bvecs.

This should help optimizing shaving off a few cycles of the I/O hot
path.
Applied, thanks.

-- 
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