commit | 66ae291978177d5c012015f12b8fbc76dc7d0965 | [log] [tgz] |
---|---|---|
author | Gui Jianfeng <guijianfeng@cn.fujitsu.com> | Tue Dec 15 10:08:45 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Dec 15 10:08:45 2009 +0100 |
tree | 1351d66beea2b0b2300a7491ca8d9ffb83578e34 | |
parent | 82bbbf28db4beefcd8b897800153e21378270cd1 [diff] |
cfq: set workload as expired if it doesn't have any slice left When a group is resumed, if it doesn't have workload slice left, we should set workload_expires as expired. Otherwise, we might start from where we left in previous group by error. Thanks the idea from Corrado. Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>