Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cfq-iosched: fix the slice residual sign
We should subtract the slice residual from the rb tree key, since a negative residual count indicates that the cfqq overran its slice the last time. Hence we want to add the overrun time, to position it a bit further away in the service tree. Reported-by: Corrado Zoccolo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information