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

From: Tejun Heo
Date: Fri Feb 03 2012 - 16:10:58 EST


On Fri, Feb 03, 2012 at 01:09:22PM -0800, Tejun Heo wrote:
> 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.

Oops, sorry, got confused again about elvswitch and pol registration.
Hmmm... yeah, we should probably be doing about the same thing on
elvswitch. I'll look into it.

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/