Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2005
b: refs/heads/master
c: c374f12
h: refs/heads/master
i:
  2003: 952acaa
v: v3
  • Loading branch information
Tejun Heo authored and Jens Axboe committed Jun 16, 2005
1 parent 278afb4 commit 0402aac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9c56187d3c345cc0e7a2f162b8c32543175d7bf7
refs/heads/master: c374f127e4ff17a318b9ae95a5bf65f370c2d0b1
2 changes: 1 addition & 1 deletion trunk/drivers/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ void __elv_add_request(request_queue_t *q, struct request *rq, int where,
int nrq = q->rq.count[READ] + q->rq.count[WRITE]
- q->in_flight;

if (nrq == q->unplug_thresh)
if (nrq >= q->unplug_thresh)
__generic_unplug_device(q);
}
} else
Expand Down

0 comments on commit 0402aac

Please sign in to comment.