diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-04-18 05:36:39 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-04-18 05:36:39 -0400 |
commit | 4521cc4ed5173f92714f6999a69910c3385fed68 (patch) | |
tree | 26ff58e87dfd303024df098935cc55e9a7bbe48d /block | |
parent | c3b328ac846bcf6b9a62c5563380a81ab723006d (diff) |
block: blk_delay_queue() should use kblockd workqueue
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 5e413933bc3a..e2bacfa46cc3 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -220,7 +220,8 @@ static void blk_delay_work(struct work_struct *work) | |||
220 | */ | 220 | */ |
221 | void blk_delay_queue(struct request_queue *q, unsigned long msecs) | 221 | void blk_delay_queue(struct request_queue *q, unsigned long msecs) |
222 | { | 222 | { |
223 | schedule_delayed_work(&q->delay_work, msecs_to_jiffies(msecs)); | 223 | queue_delayed_work(kblockd_workqueue, &q->delay_work, |
224 | msecs_to_jiffies(msecs)); | ||
224 | } | 225 | } |
225 | EXPORT_SYMBOL(blk_delay_queue); | 226 | EXPORT_SYMBOL(blk_delay_queue); |
226 | 227 | ||