block: Fix bounce limit setting in DM
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 3 Jun 2009 07:33:18 +0000 (09:33 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 3 Jun 2009 07:33:18 +0000 (09:33 +0200)
commita05c0205ba031c01bba33a21bf0a35920eb64833
tree517c7682fc415cdb122ee7fcfc75eff674cc7b78
parentdbdc9dd342f0a7e32f40f0d4ade662bdfe057484
block: Fix bounce limit setting in DM

blk_queue_bounce_limit() is more than a wrapper about the request queue
limits.bounce_pfn variable.  Introduce blk_queue_bounce_pfn() which can
be called by stacking drivers that wish to set the bounce limit
explicitly.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-settings.c
drivers/md/dm-table.c
include/linux/blkdev.h