+10
−10
+6
−13
+38
−43
+9
−13
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:Neil Brown <neilb@suse.de> Various compile fixes by me... Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>