Re: [PATCH] blk-mq: take quiesce_lock when removing a queue from the tag set
From: Mani Tofigh
Date: Tue Dec 01 2026 - 15:00:17 EST
Hi Nilay,
Sorry this fell through the cracks. Yes, I've been pretty swamped
recently so please feel free to take this if you have the cycles.
Thanks a lot!
Mani
On Tue, Dec 1, 2026 at 5:54 AM Nilay Shroff <nilay@xxxxxxxxxxxxx> wrote:
>
> Hi Mani, A gentle reminder. . . On 11/6/26 9: 47 PM, Mani Tofigh wrote: > > > On 11/4/26 8: 19 AM, Nilay Shroff wrote: >> Now that set->quiesce_lock serializes both traversal of set->tag_list >> in blk_mq_[un]quiesce_tagset()
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
>
> ZjQcmQRYFpfptBannerEnd
>
> Hi Mani,
>
> A gentle reminder...
>
> On 11/6/26 9:47 PM, Mani Tofigh wrote:
> >
> >
> > On 11/4/26 8:19 AM, Nilay Shroff wrote:
> >> Now that set->quiesce_lock serializes both traversal of set->tag_list
> >> in blk_mq_[un]quiesce_tagset() as well as modifications in
> >> blk_mq_[add|del]_queue_tag_set(), do we still need RCU protection for
> >> this list?
> >
> >
> > I don't think so. The quiesce walks are the only users that don't
> > hold tag_list_lock and I didn't find any other reader of the list in
> > block or drivers.
> >
> >
> > I'd like to keep this fix minimal for stable though. I'll drop the RCU
> > and add the __guarded_by() annotations as a separate cleanup.
> >
>
> I just saw that now the changes were merged upstream as well as picked up
> for stable, are you planning to address the above comment? or if in case
> you're busy, I can help fix it. Let me know.
>
> Thanks,
> --Nilay
>
>