From: Shaohua Li Date: Tue, 27 Oct 2009 07:46:23 +0000 (+0100) Subject: cfq-iosched: improve hw_tag detection X-Git-Tag: v2.6.33-rc1~379^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a1238a7dd48e48b3bba8f426a1d61c22c80d6d1;p=pandora-kernel.git cfq-iosched: improve hw_tag detection If active queue hasn't enough requests and idle window opens, cfq will not dispatch sufficient requests to hardware. In such situation, current code will zero hw_tag. But this is because cfq doesn't dispatch enough requests instead of hardware queue doesn't work. Don't zero hw_tag in such case. Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed