commit | b9c8946b192397394a0ccd4fcecb31bc060f79f8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Oct 06 20:53:44 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Oct 06 21:09:32 2009 +0200 |
tree | 54169a387e8e4a5f6f79e06de6fbdd0096198069 | |
parent | 0b182d617eb50762b483658dd6dd9a9fbcb25758 [diff] |
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 <czoccolo@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>