NeilBrown 5705f70217 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: Neil Brown <neilb@suse.de>

Various compile fixes by me...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-10-10 09:25:56 +02:00
..
2007-07-20 01:11:59 +02:00
2007-09-11 22:28:37 +02:00
2007-02-07 18:19:42 +01:00
2007-07-20 01:11:58 +02:00
2007-09-11 22:28:36 +02:00
2007-05-10 00:01:09 +02:00
2007-09-11 22:28:34 +02:00