projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a0041
)
[BLOCK] elevator: run queue in elevator_switch
author
Tejun Heo
<htejun@gmail.com>
Thu, 10 Nov 2005 07:48:21 +0000
(08:48 +0100)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Sat, 12 Nov 2005 09:55:37 +0000
(10:55 +0100)
elevator_dispatch needs to run queue after forced dispatching;
otherwise, the queue might stall.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
block/elevator.c
patch
|
blob
|
history
diff --git
a/block/elevator.c
b/block/elevator.c
index
e58928e
..
a475b1a
100644
(file)
--- a/
block/elevator.c
+++ b/
block/elevator.c
@@
-696,6
+696,8
@@
static void elevator_switch(request_queue_t *q, struct elevator_type *new_e)
;
while (q->rq.elvpriv) {
+ blk_remove_plug(q);
+ q->request_fn(q);
spin_unlock_irq(q->queue_lock);
msleep(10);
spin_lock_irq(q->queue_lock);