]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ac5e7c8fdb5a3acbc7a0e6f04dc3f2a19e54fb5
tree517c7682fc415cdb122ee7fcfc75eff674cc7b78
parent204818183d66ca5099567aa3200b93cef6d15cb8
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