Re: [PATCH V12 08/20] block: introduce bio_for_each_bvec() and rq_for_each_bvec()

From
Christoph Hellwig <hch@lst.de>
Date
2018-11-26 12:55:49
Also in
dm-devel, linux-bcache, linux-block, linux-btrfs, linux-ext4, linux-fsdevel, linux-mm, linux-xfs, lkml
Reply to
Ming Lei, 2018-11-26
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 <redacted>
Signed-off-by: Ming Lei <redacted>
Looks fine,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Thread (48 messages) 48 messages, 5 authors, last reply 2018-11-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help