blk-mq: add BLK_MQ_F_DEFER_ISSUE support flag
authorJens Axboe <axboe@fb.com>
Wed, 29 Oct 2014 17:18:26 +0000 (11:18 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 29 Oct 2014 17:18:26 +0000 (11:18 -0600)
commite167dfb53cb85fde7b15f644e9dbef7ba31896b6
treebaf22faa1d3de6c2a70faeacc0599f01f5469a2d
parent74c450521dd8d245b982da62592a18aa6f88b045
blk-mq: add BLK_MQ_F_DEFER_ISSUE support flag

Drivers can now tell blk-mq if they take advantage of the deferred
issue through 'last' or not. If they do, don't do queue-direct
for sync IO. This is a preparation patch for the nvme conversion.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blk-mq.h