Re: [PATCH] cfq-iosched: Get rid of st->active

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vivek Goyal
Date: Tuesday, November 30, 2010 - 7:28 am

On Tue, Nov 30, 2010 at 04:37:26PM +0800, Gui Jianfeng wrote:

Looks good to me. st->left and st->active seems to be same as we never
dequeue the group while it is being serviced.

I think in previous implementations I had first dequeued the group while
it is being serviced and in that case st->left and st->active will be
different, hence this additional pointer. Later changed the implementation
and now st->active should not be needed.

Thanks for the cleanup Gui.

Acked-by: Vivek Goyal <vgoyal@redhat.com>

Vivek

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] cfq-iosched: Get rid of st-&gt;active, Gui Jianfeng, (Tue Nov 30, 1:37 am)
Re: [PATCH] cfq-iosched: Get rid of st->active, Vivek Goyal, (Tue Nov 30, 7:28 am)
Re: [PATCH] cfq-iosched: Get rid of st-&gt;active, Jens Axboe, (Tue Nov 30, 12:53 pm)