]> git.karo-electronics.de Git - linux-beck.git/commit
cfq-iosched: Fix update_vdisktime logic
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Mon, 7 Mar 2011 08:28:09 +0000 (09:28 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 7 Mar 2011 08:28:09 +0000 (09:28 +0100)
commita60327107b56573c305ecc78e471dbdbb4d2f426
tree239521730642bc2f263d1daa9c49737467d6c1b9
parentef8a41df8c140f10108de75b01b6369d6e49113c
cfq-iosched: Fix update_vdisktime logic

The update_vdisktime logic is broken since commit
b54ce60eb7f61f8e314b8b241b0469eda3bb1d42, st->min_vdisktime never makes
a progress. Fix it.

Thanks Vivek for pointing it out.

Signed-off-by: Gui Jianfeng <guijianfen@cn.fujitsu.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c