diff options
author | Christoph Hellwig <hch@lst.de> | 2014-04-16 07:44:54 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-16 20:15:25 (GMT) |
commit | 1b4a325858f695a9b5041313602d34b36f463724 (patch) | |
tree | fb42ab8f36cab8665e60e9788afff434333bc135 /block/blk-mq.c | |
parent | 91b63639c7d59dbf86da5311faff43691dcae832 (diff) | |
download | linux-1b4a325858f695a9b5041313602d34b36f463724.tar.xz |
blk-mq: add async parameter to blk_mq_start_stopped_hw_queues
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 963a821..da38088 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -700,7 +700,7 @@ void blk_mq_start_hw_queue(struct blk_mq_hw_ctx *hctx) } EXPORT_SYMBOL(blk_mq_start_hw_queue); -void blk_mq_start_stopped_hw_queues(struct request_queue *q) +void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async) { struct blk_mq_hw_ctx *hctx; int i; @@ -711,7 +711,7 @@ void blk_mq_start_stopped_hw_queues(struct request_queue *q) clear_bit(BLK_MQ_S_STOPPED, &hctx->state); preempt_disable(); - blk_mq_run_hw_queue(hctx, true); + blk_mq_run_hw_queue(hctx, async); preempt_enable(); } } |