summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorCorrado Zoccolo <czoccolo@gmail.com>2009-10-05 08:49:23 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-05 11:03:55 +0200
commit48e025e63ac908ed6ec5394a294f4ecd510a7476 (patch)
tree49828c00687c810627f00430dd56ce9901537fc9 /block/blk-core.c
parent30996f40bffe73f05abb92a4cec254befa8cecf7 (diff)
downloadop-kernel-dev-48e025e63ac908ed6ec5394a294f4ecd510a7476.zip
op-kernel-dev-48e025e63ac908ed6ec5394a294f4ecd510a7476.tar.gz
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>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud