Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5705f702 authored by NeilBrown's avatar NeilBrown Committed by Jens Axboe
Browse files

Introduce rq_for_each_segment replacing rq_for_each_bio



Every usage of rq_for_each_bio wraps a usage of
bio_for_each_segment, so these can be combined into
rq_for_each_segment.

We define "struct req_iterator" to hold the 'bio' and 'index' that
are needed for the double iteration.

Signed-off-by: default avatarNeil Brown <neilb@suse.de>

Various compile fixes by me...

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 9dfa5283
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment