projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3b328a
)
block: blk_delay_queue() should use kblockd workqueue
author
Jens Axboe
<jaxboe@fusionio.com>
Mon, 18 Apr 2011 09:36:39 +0000
(11:36 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Mon, 18 Apr 2011 09:36:39 +0000
(11:36 +0200)
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
patch
|
blob
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index 5e413933bc3abd68a94abf6ccfa43af1cf2cfb88..e2bacfa46cc3ee07684b276791e01870c68e26f7 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-220,7
+220,8
@@
static void blk_delay_work(struct work_struct *work)
*/
void blk_delay_queue(struct request_queue *q, unsigned long msecs)
{
- schedule_delayed_work(&q->delay_work, msecs_to_jiffies(msecs));
+ queue_delayed_work(kblockd_workqueue, &q->delay_work,
+ msecs_to_jiffies(msecs));
}
EXPORT_SYMBOL(blk_delay_queue);