commit | 5705f7021748a69d84d6567e68e8851dab551464 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Tue Sep 25 12:35:59 2007 +0200 |
committer | Jens Axboe <axboe@carl.home.kernel.dk> | Wed Oct 10 09:25:56 2007 +0200 |
tree | 5a6dbc8fc6055c0334f4a97540e36a7844b9c482 | |
parent | 9dfa52831e96194b8649613e3131baa2c109f7dc [diff] |
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>