[dm-devel] [PATCH V12 08/20] block: introduce bio_for_each_bvec() and rq_for_each_bvec()

Christoph Hellwig hch at lst.de
Mon Nov 26 12:55:49 UTC 2018


On Mon, Nov 26, 2018 at 10:17:08AM +0800, Ming Lei wrote:
> bio_for_each_bvec() is used for iterating over multi-page bvec for bio
> split & merge code.
> 
> rq_for_each_bvec() can be used for drivers which may handle the
> multi-page bvec directly, so far loop is one perfect use case.
> 
> Reviewed-by: Omar Sandoval <osandov at fb.com>
> Signed-off-by: Ming Lei <ming.lei at redhat.com>

Looks fine,

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




More information about the dm-devel mailing list