Re: [PATCH UPDATED 11/11] blkcg: unify blkg's for blkcg policies

From: Tejun Heo
Date: Fri Feb 03 2012 - 16:09:24 EST


Hello,

On Fri, Feb 03, 2012 at 04:06:56PM -0500, Vivek Goyal wrote:
> Shouldn't we shoot down root group policy data upon elevator switch?
> Otherwise once the elevator comes back, it will continue to use old
> policy data (old stats, overwrite old weigts etc.).

It's racy and hacky but we do shoot down policy specific data and
reinit them. The behavior should be fine although implementation is
seriously ugly for now.

Thanks.

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