cfq-iosched: fix a kbuild regression
authorShaohua Li <shaohua.li@intel.com>
Fri, 19 Mar 2010 07:03:04 +0000 (08:03 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 19 Mar 2010 07:03:04 +0000 (08:03 +0100)
commite9ce335df51ff782035a15c261a3c0c9892a1767
tree9ecb3c0eab9dbb0117ad9d726456850ff2f49b78
parent910ac735bad53ce54741a72a5b19ab69794ae069
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 <alex.shi@intel.com>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Corrado Zoccolo <czoccolo@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c