From: Jeff Moyer Date: Tue, 21 Apr 2009 05:31:56 +0000 (+0200) Subject: cfq-iosched: use the default seek distance when there aren't enough seek samples X-Git-Tag: v2.6.30-rc4~65^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04dc6e71a28d4815bf9431efcafc107bb0ad2792;p=pandora-kernel.git cfq-iosched: use the default seek distance when there aren't enough seek samples If the cfq io context doesn't have enough samples yet to provide a mean seek distance, then use the default threshold we have for seeky IO instead of defaulting to 0. Signed-off-by: Jeff Moyer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed