projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f03793
)
ide: ide_requeue_and_plug() reinstate "always plug" behaviour
author
Jens Axboe
<jaxboe@fusionio.com>
Wed, 30 Mar 2011 10:22:23 +0000
(12:22 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Tue, 5 Apr 2011 21:51:37 +0000
(23:51 +0200)
We see stalls if we don't always ensure that the queue gets run
again. Even if rq == NULL, we could have other pending requests
in the queue.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/ide/ide-io.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/ide-io.c
b/drivers/ide/ide-io.c
index 0e406d73b2c8226da821bd3b2b7fb480354ed2cc..ca27d3090aeb0c7157a6aa3e4be19308ac7662d5 100644
(file)
--- a/
drivers/ide/ide-io.c
+++ b/
drivers/ide/ide-io.c
@@
-570,8
+570,7
@@
void ide_requeue_and_plug(ide_drive_t *drive, struct request *rq)
spin_unlock_irqrestore(q->queue_lock, flags);
/* Use 3ms as that was the old plug delay */
- if (rq)
- blk_delay_queue(q, 3);
+ blk_delay_queue(q, 3);
}
static int drive_is_ready(ide_drive_t *drive)