Skip to content
Commit 594b9a89 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

block: introduce mp_bvec_for_each_page() for iterating over page



mp_bvec_for_each_segment() is a bit big for the iteration, so introduce
a light-weight helper for iterating over pages, then 32bytes stack
space can be saved.

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bbcbbd56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment