From: Shaohua Li Date: Fri, 19 Mar 2010 07:03:04 +0000 (+0100) Subject: cfq-iosched: fix a kbuild regression X-Git-Tag: v2.6.34-rc4~11^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9ce335df51ff782035a15c261a3c0c9892a1767;p=pandora-kernel.git cfq-iosched: fix a kbuild regression Alex Shi reported a kbuild regression which is about 10% performance lost. He bisected to this commit: 3dde36ddea3e07dd025c4c1ba47edec91606fec0. The reason is cfqq_close() can't find close cooperator. Restoring cfq_rq_close()'s threshold to original value makes the regression go away. Since for_preempt parameter isn't used anymore, this patch deletes it. Reported-by: Alex Shi Signed-off-by: Shaohua Li Acked-by: Corrado Zoccolo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed