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-19 20:35:02 +02:00
2007-10-29 09:18:03 +01:00
2007-10-25 15:02:50 +10:00
2007-10-20 01:13:56 +02:00
2007-10-17 20:16:15 +02:00
2007-10-20 01:13:56 +02:00
2007-10-14 21:49:42 +02:00
2007-10-24 12:58:02 +02:00
2007-10-23 22:37:22 +02:00
2007-10-20 01:13:56 +02:00
2007-10-11 11:16:34 +02:00
2007-10-17 20:17:06 +02:00
2007-10-11 11:16:56 +02:00