diff options
author | Jens Axboe <axboe@fb.com> | 2014-10-29 11:18:26 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-10-29 11:18:26 -0600 |
commit | e167dfb53cb85fde7b15f644e9dbef7ba31896b6 (patch) | |
tree | baf22faa1d3de6c2a70faeacc0599f01f5469a2d /include/linux/blk-mq.h | |
parent | 74c450521dd8d245b982da62592a18aa6f88b045 (diff) |
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>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index be01d7a687d4..c3b64ec5321e 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -146,6 +146,7 @@ enum { BLK_MQ_F_TAG_SHARED = 1 << 1, BLK_MQ_F_SG_MERGE = 1 << 2, BLK_MQ_F_SYSFS_UP = 1 << 3, + BLK_MQ_F_DEFER_ISSUE = 1 << 4, BLK_MQ_S_STOPPED = 0, BLK_MQ_S_TAG_ACTIVE = 1, |