Sam Bradshaw 093c959307 mtip32xx: Correctly handle bio->bi_idx != 0 conditions
Stacking drivers may append bvecs to existing bio's, resulting
in non-zero bi_idx conditions.  This patch counts the loops of
bio_for_each_segment() rather than inheriting the bi_idx value
to pass as a segment count to the hardware submission routine.

Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-05-15 10:09:05 +02:00
..
2013-03-26 14:48:12 -06:00
2013-03-23 14:15:29 -07:00
2013-04-09 14:13:19 -04:00
2011-08-08 11:40:15 +02:00
2005-04-16 15:20:36 -07:00
2013-04-09 14:13:32 -04:00
2012-03-28 18:30:03 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2013-03-28 14:50:49 -04:00
2013-04-09 14:13:32 -04:00
2009-03-26 21:15:27 +01:00
2013-03-20 15:44:58 +10:30