Re: [PATCH] cfq: set workload as expired if it doesn't have anyslice left.

From: Jens Axboe
Date: Tue Dec 15 2009 - 04:07:51 EST


On Tue, Dec 15 2009, Gui Jianfeng wrote:
> 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.

Thanks for working this out guys, I have applied it.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/