Re: [PATCH 02/12] cfq: don't register propio policy if!CONFIG_CFQ_GROUP_IOSCHED

From: Vivek Goyal
Date: Thu Jan 19 2012 - 05:11:36 EST


On Wed, Jan 18, 2012 at 05:11:20PM -0800, Tejun Heo wrote:
> cfq has been registering zeroed blkio_poilcy_cfq if CFQ_GROUP_IOSCHED
> is disabled. This fortunately doesn't collide with blk-throtl as
> BLKIO_POLICY_PROP is zero but is unnecessary and risky. Just don't
> register it if not enabled.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Vivek Goyal <vgoyal@xxxxxxxxxx>

Thanks. Looks good to me.

Acked-by: Vivek Goyal <vgoyal@xxxxxxxxxx>

Vivek

--
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/