diff options
author | Aaron Carroll <aaronc@gelato.unsw.edu.au> | 2007-10-30 05:40:13 -0400 |
---|---|---|
committer | Jens Axboe <axboe@carl.home.kernel.dk> | 2007-11-02 03:47:25 -0400 |
commit | dfb3d72a9aa519672c9ae06f0d2f93eccb35482f (patch) | |
tree | d6ec7e9b0e0ddbfa1acf59819caca071b1e1f29c /block/elevator.c | |
parent | 5d1a536621403b442eef60ddd35e6b7a46fb04b7 (diff) |
Deadline iosched: Reset batch for ordered requests
The deadline I/O scheduler does not reset the batch count when starting
a new batch at a higher-sectored request. This means the second and
subsequent batch in the same data direction will never exceed a single
request in size whenever higher-sectored requests are pending.
This patch gives new batches in the same data direction as old ones
their full quota of requests by resetting the batch count.
Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions