diff options
author | Gui Jianfeng <guijianfeng@cn.fujitsu.com> | 2009-12-15 04:08:45 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-12-15 04:08:45 -0500 |
commit | 66ae291978177d5c012015f12b8fbc76dc7d0965 (patch) | |
tree | 1351d66beea2b0b2300a7491ca8d9ffb83578e34 /kernel | |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions