projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4310864
)
blk_sync_queue() should cancel request_queue->unplug_work
author
Oleg Nesterov
<oleg@tv-sign.ru>
Tue, 23 Oct 2007 13:08:19 +0000
(15:08 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 29 Oct 2007 10:33:05 +0000
(11:33 +0100)
blk_sync_queue() cancels the timer, but forgets to cancel the work.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c
patch
|
blob
|
history
diff --git
a/block/ll_rw_blk.c
b/block/ll_rw_blk.c
index
49c0f18
..
d8616e6
100644
(file)
--- a/
block/ll_rw_blk.c
+++ b/
block/ll_rw_blk.c
@@
-1738,6
+1738,7
@@
EXPORT_SYMBOL(blk_stop_queue);
void blk_sync_queue(struct request_queue *q)
{
del_timer_sync(&q->unplug_timer);
+ kblockd_flush_work(&q->unplug_work);
}
EXPORT_SYMBOL(blk_sync_queue);