cfq-iosched: fix a kbuild regression
Alex Shi reported a kbuild regression which is about 10% performance lost. He bisected to this commit: 3dde36dd. 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: NAlex Shi <alex.shi@intel.com> Signed-off-by: NShaohua Li <shaohua.li@intel.com> Acked-by: NCorrado Zoccolo <czoccolo@gmail.com> Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
Showing
想要评论请 注册 或 登录