aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-04-16 03:44:56 -0400
committerJens Axboe <axboe@fb.com>2014-04-16 16:15:25 -0400
commit2f268556567ebeb3538f99b9bdad177581439dcb (patch)
tree67e3406c30d8998c8fc1a12a43af0ab4139b5206 /include/linux/blk-mq.h
parent70f4db639c5b2479e08657392cbf3ba3cceea11c (diff)
blk-mq: add blk_mq_start_hw_queues
Add a helper to unconditionally kick contexts of a queue. This will be needed by the SCSI layer to provide fair queueing between multiple devices on a single host. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r--include/linux/blk-mq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index ae868e77bc2f..391377e53367 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -158,6 +158,7 @@ void blk_mq_complete_request(struct request *rq);
158void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx); 158void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx);
159void blk_mq_start_hw_queue(struct blk_mq_hw_ctx *hctx); 159void blk_mq_start_hw_queue(struct blk_mq_hw_ctx *hctx);
160void blk_mq_stop_hw_queues(struct request_queue *q); 160void blk_mq_stop_hw_queues(struct request_queue *q);
161void blk_mq_start_hw_queues(struct request_queue *q);
161void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async); 162void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async);
162void blk_mq_delay_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs); 163void blk_mq_delay_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs);
163 164