Re: [PATCH 2/5] cfq-iosched: Reorder checks in cfq_should_preempt()

From: Tejun Heo
Date: Fri Jan 08 2016 - 11:59:35 EST


On Thu, Jan 07, 2016 at 04:28:13PM +0100, Jan Kara wrote:
> From: Jan Kara <jack@xxxxxxxx>
>
> Move check for preemption by rt class up. There is no functional change
> but it makes arguing about conditions simpler since we can be sure both
> cfq queues are from the same ioprio class.
>
> Signed-off-by: Jan Kara <jack@xxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun