[dm-devel] [PATCH V11 12/19] block: allow bio_for_each_segment_all() to iterate over multi-page bvec

Christoph Hellwig hch at lst.de
Wed Nov 21 14:02:33 UTC 2018


On Wed, Nov 21, 2018 at 11:23:20AM +0800, Ming Lei wrote:
> This patch introduces one extra iterator variable to bio_for_each_segment_all(),
> then we can allow bio_for_each_segment_all() to iterate over multi-page bvec.
> 
> Given it is just one mechannical & simple change on all bio_for_each_segment_all()
> users, this patch does tree-wide change in one single patch, so that we can
> avoid to use a temporary helper for this conversion.
> 
> Signed-off-by: Ming Lei <ming.lei at redhat.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the dm-devel mailing list