git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6
[pandora-kernel.git]
/
block
/
elevator.c
diff --git
a/block/elevator.c
b/block/elevator.c
index
98259ed
..
ca6788a
100644
(file)
--- a/
block/elevator.c
+++ b/
block/elevator.c
@@
-677,7
+677,7
@@
void elv_insert(struct request_queue *q, struct request *rq, int where)
}
if (unplug_it && blk_queue_plugged(q)) {
- int nrq = q->rq.count[
READ] + q->rq.count[WRITE
]
+ int nrq = q->rq.count[
BLK_RW_SYNC] + q->rq.count[BLK_RW_ASYNC
]
- q->in_flight;
if (nrq >= q->unplug_thresh)