From: Tejun Heo Date: Thu, 10 Nov 2005 17:20:16 +0000 (+0100) Subject: [BLOCK] cfq-iosched: fix slice_left calculation X-Git-Tag: v2.6.15-rc2~225 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b740d98f5614e34b4cff2e1e67826f007c8d4f30;p=pandora-kernel.git [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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed