projects
/
platform
/
kernel
/
linux-amlogic.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
5e41393
..
e2bacfa
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);