block: add bounce support to blk_rq_map_user_iov
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 26 Jun 2008 17:39:23 +0000 (19:39 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Jul 2008 11:21:14 +0000 (13:21 +0200)
commit07359fc61bb8ed786f96a1c24cca6f94dd17e329
treed778cf4f214c9e87ecf4a322b687457391ee2906
parentc265a7f41706cee20508de5b4a919214cfd7a11b
block: add bounce support to blk_rq_map_user_iov

blk_rq_map_user_iov can't handle the bounce buffer (it means that the
bio_map_user_iov path doesn't work with a LLD that needs GFP_DMA).

This patch fixes blk_rq_map_user_iov to support the bounce buffer.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-map.c