block: Optimal I/O limit wrapper
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 11 Sep 2009 19:54:52 +0000 (21:54 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 14 Sep 2009 06:24:52 +0000 (08:24 +0200)
commit3c5820c743479285ce2678fd3c12b1fd39fe998f
tree8f6b3980f5e8da4912b44eee4688d51ce12c97a3
parent06d2188644c85c56d243efab914f368d1d23c4a3
block: Optimal I/O limit wrapper

Implement blk_limits_io_opt() and make blk_queue_io_opt() a wrapper
around it. DM needs this to avoid poking at the queue_limits directly.

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