Re: [PATCH 2/2] bio: optimise bvec iteration
From: Christoph Hellwig <hch@infradead.org>
Date: 2020-12-02 14:57:44
From: Christoph Hellwig <hch@infradead.org>
Date: 2020-12-02 14:57:44
On Tue, Nov 24, 2020 at 05:58:13PM +0000, Pavel Begunkov wrote:
__bio_for_each_bvec(), __bio_for_each_segment() and bio_copy_data_iter() fall under conditions of bvec_iter_advance_single(), which is a faster and slimmer version of bvec_iter_advance(). Add bio_advance_iter_single() and convert them. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>