diff options
author | Tejun Heo <htejun@gmail.com> | 2005-11-10 18:20:16 +0100 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2005-11-12 10:56:36 +0100 |
commit | b740d98f5614e34b4cff2e1e67826f007c8d4f30 (patch) | |
tree | 50ff24c84b2ecfc2e8e518b1d9aecf3be2bc8ec5 /block/noop-iosched.c | |
parent | be56123568072d223263a6a70a087d1e7faabb83 (diff) | |
download | linux-stable-b740d98f5614e34b4cff2e1e67826f007c8d4f30.tar.gz linux-stable-b740d98f5614e34b4cff2e1e67826f007c8d4f30.tar.bz2 linux-stable-b740d98f5614e34b4cff2e1e67826f007c8d4f30.zip |
[BLOCK] cfq-iosched: fix slice_left calculation
When cfq slice expires, remainder of slice is calculated and stored in
cfqq->slice_left. Current code calculates the opposite of remainder -
how many jiffies the cfqq has used past slice end. This patch fixes
the bug.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions