[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120320160043.GD17071@redhat.com>
Date: Tue, 20 Mar 2012 12:00:44 -0400
From: Vivek Goyal <vgoyal@...hat.com>
To: Tejun Heo <tj@...nel.org>
Cc: axboe@...nel.dk, linux-kernel@...r.kernel.org, ctalbott@...gle.com,
rni@...gle.com
Subject: Re: [PATCHSET] block: remove ioc_*_changed()
On Tue, Mar 20, 2012 at 08:53:58AM -0700, Tejun Heo wrote:
> On Tue, Mar 20, 2012 at 11:51:18AM -0400, Vivek Goyal wrote:
> > So this patch still breaks cic->cfqq association in asynchronous
> > manner, when new request comes in. So it will still not solve the
> > problem I reported where after doing IO a task changes cgroup and
> > tries to delete the old cgroup and hangs forever as cic->cfqq is still
> > holding a reference to cgroup?
>
> That one is gonna have to be fixed from cgroup side. I already posted
> a RFC patchset (you were cc'd there, I think). At the moment, the
> blocking thing is memcg's ->pre_destroy() usage. I'll ping memcg
> people once more and if modification there isn't feasible, will
> implement a workaround in cgroup core.
Ok, now I remember that patchset. So the idea is to delete the cgroup and
drop the creation reference. Internal blkcg object might still be around
and will freed when all the references are gone. Makes sense. Thanks.
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists