diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/elevator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/elevator.c b/drivers/block/elevator.c index 98fcabbafe1e..89982925f9e2 100644 --- a/drivers/block/elevator.c +++ b/drivers/block/elevator.c | |||
@@ -317,7 +317,7 @@ void __elv_add_request(request_queue_t *q, struct request *rq, int where, | |||
317 | int nrq = q->rq.count[READ] + q->rq.count[WRITE] | 317 | int nrq = q->rq.count[READ] + q->rq.count[WRITE] |
318 | - q->in_flight; | 318 | - q->in_flight; |
319 | 319 | ||
320 | if (nrq == q->unplug_thresh) | 320 | if (nrq >= q->unplug_thresh) |
321 | __generic_unplug_device(q); | 321 | __generic_unplug_device(q); |
322 | } | 322 | } |
323 | } else | 323 | } else |