FUJITA Tomonori 5336940dd8 x86: fix pci-gart failure handling
blk_rq_map_sg doesn't initialize sg->dma_address/length to zero
anymore. Some low level drivers reuse sg lists without initializing so
IOMMUs might get non-zero dma_address/length. If map_sg fails, we need
pass the number of the mapped entries to gart_unmap_sg.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-10-29 09:18:03 +01:00
..
2007-10-23 12:31:05 +02:00
2007-10-23 11:20:26 +02:00
2007-10-24 14:09:25 +02:00
2007-10-20 01:34:40 +02:00
2007-10-27 22:18:11 -07:00
2007-10-20 01:10:46 +02:00
2007-10-20 01:14:39 +02:00
2007-10-24 08:55:40 +02:00
2007-10-23 12:32:34 +02:00
2007-10-23 09:49:31 +02:00
2007-10-22 12:52:49 +02:00
2007-10-27 00:13:04 -07:00
2007-10-20 01:24:05 +02:00
2007-10-29 09:18:03 +01:00