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-08-09 08:39:22 -07:00
2007-08-15 16:36:56 +02:00
2007-08-11 15:47:40 -07:00
2007-08-18 17:15:17 -07:00
2007-07-18 16:53:49 +03:00
2007-10-07 23:44:17 -07:00
2007-07-20 11:13:35 +02:00
2007-07-31 15:39:41 -07:00
2007-07-26 11:35:16 -07:00