From: Joseph Qi <joseph.qi@linux.alibaba.com>
To: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>,
xuejiufei <jiufei.xue@linux.alibaba.com>,
Caspar Zhang <caspar@linux.alibaba.com>,
linux-block <linux-block@vger.kernel.org>,
cgroups@vger.kernel.org
Subject: Re: [PATCH v5] blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir()
Date: Thu, 15 Mar 2018 09:18:55 +0800 [thread overview]
Message-ID: <d988a1eb-98c0-6a79-d271-778f5ca17b3e@linux.alibaba.com> (raw)
In-Reply-To: <20180314140901.GV2943022@devbig577.frc2.facebook.com>
Hello Tejun,
Thanks for your quick response.
On 18/3/14 22:09, Tejun Heo wrote:
> Hello,
>
> On Wed, Mar 14, 2018 at 02:18:04PM +0800, Joseph Qi wrote:
>> Fixes: ae1188963611 ("blkcg: consolidate blkg creation in blkcg_bio_issue_check()")
>> Reported-by: Jiufei Xue <jiufei.xue@linux.alibaba.com>
>> Cc: stable@vger.kernel.org #4.3+
>
> I'm a bit nervous about tagging it for -stable. Given the low rate of
> this actually occurring, I'm not sure the benefits outweigh the risks.
> Let's at least cook it for a couple releases before sending it to
> -stable.
>
>> diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h
>> index 69bea82..dccd102 100644
>> --- a/include/linux/blk-cgroup.h
>> +++ b/include/linux/blk-cgroup.h
>> @@ -88,6 +88,7 @@ struct blkg_policy_data {
>> /* the blkg and policy id this per-policy data belongs to */
>> struct blkcg_gq *blkg;
>> int plid;
>> + bool offlined;
>> };
>
> This is pure bike-shedding but offlined reads kinda weird to me, maybe
> just offline would read better? Other than that,
>
Do I need to resend a new version for this?
Thanks,
Joseph
> Acked-by: Tejun Heo <tj@kernel.org>
>
> Thanks a lot for seeing this through.
>
next prev parent reply other threads:[~2018-03-15 1:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-14 6:18 [PATCH v5] blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir() Joseph Qi
2018-03-14 14:09 ` Tejun Heo
2018-03-15 1:18 ` Joseph Qi [this message]
2018-03-19 14:45 ` Tejun Heo
2018-03-19 14:52 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d988a1eb-98c0-6a79-d271-778f5ca17b3e@linux.alibaba.com \
--to=joseph.qi@linux.alibaba.com \
--cc=axboe@kernel.dk \
--cc=caspar@linux.alibaba.com \
--cc=cgroups@vger.kernel.org \
--cc=jiufei.xue@linux.alibaba.com \
--cc=linux-block@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox