From: Shaohua Li Date: Mon, 7 Mar 2011 08:26:29 +0000 (+0100) Subject: cfq-iosched: give busy sync queue no dispatch limit X-Git-Tag: v2.6.39-rc1~80^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef8a41df8c140f10108de75b01b6369d6e49113c;p=pandora-kernel.git cfq-iosched: give busy sync queue no dispatch limit If there are a sync and an async queue and the sync queue's think time is small, we can ignore the sync queue's dispatch quantum. Because the sync queue will always preempt the async queue, we don't need to care about async's latency. This can fix a performance regression of aiostress test, which is introduced by commit f8ae6e3eb825. The issue should exist even without the commit, but the commit amplifies the impact. The initial post does the same optimization for RT queue too, but since I have no real workload for it, Vivek suggests to drop it. Signed-off-by: Shaohua Li Reviewed-by: Gui Jianfeng Signed-off-by: Jens Axboe --- Reading git-diff-tree failed