# 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 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2018/11/146324
- Thread: https://ratatoskr.run/linux-block/2018/11/145684/t.md

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