From: Jens Axboe Date: Tue, 6 Oct 2009 18:53:44 +0000 (+0200) Subject: cfq-iosched: fix the slice residual sign X-Git-Tag: v2.6.32-rc5~26^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9c8946b192397394a0ccd4fcecb31bc060f79f8;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed