[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180411195700.GP793541@devbig577.frc2.facebook.com>
Date: Wed, 11 Apr 2018 12:57:00 -0700
From: "tj@...nel.org" <tj@...nel.org>
To: Bart Van Assche <bart.vanassche@....com>
Cc: Alexandru Moise <00moses.alexander00@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"nborisov@...e.com" <nborisov@...e.com>,
"axboe@...nel.dk" <axboe@...nel.dk>, "shli@...com" <shli@...com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"joseph.qi@...ux.alibaba.com" <joseph.qi@...ux.alibaba.com>,
"arnd@...db.de" <arnd@...db.de>
Subject: Re: [PATCH v2] blk-cgroup: remove entries in blkg_tree before queue
release
On Wed, Apr 11, 2018 at 01:55:25PM -0600, Bart Van Assche wrote:
> On 04/11/18 13:00, Alexandru Moise wrote:
> >But the root cause of it is in blkcg_init_queue() when blkg_create() returns
> >an ERR ptr, because it tries to insert into a populated index into blkcg->blkg_tree,
> >the entry that we fail to remove at __blk_release_queue().
>
> Hello Alex,
>
> Had you considered something like the untested patch below?
But queue init shouldn't fail here, right?
Thanks.
--
tejun
Powered by blists - more mailing lists