commit | 48e025e63ac908ed6ec5394a294f4ecd510a7476 | [log] [tgz] |
---|---|---|
author | Corrado Zoccolo <czoccolo@gmail.com> | Mon Oct 05 08:49:23 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 05 11:03:55 2009 +0200 |
tree | 49828c00687c810627f00430dd56ce9901537fc9 | |
parent | 30996f40bffe73f05abb92a4cec254befa8cecf7 [diff] |
cfq-iosched: fix possible problem with jiffies wraparound The RR service tree is indexed by a key that is relative to current jiffies. This can cause problems on jiffies wraparound. The patch fixes it using time_before comparison, and changing the add_front path to use a relative number, too. Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>