[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+HUmGijWOvmt_+UZyc8bArdOYMecDUbwpMiSBBjnfJsLx6ofg@mail.gmail.com>
Date: Tue, 8 Nov 2022 09:30:23 -0800
From: Francesco Ruggeri <fruggeri@...sta.com>
To: Keith Busch <kbusch@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-nvme@...ts.infradead.org,
sagi@...mberg.me, hch@....de, axboe@...com
Subject: Re: nvme: hung task in blk_mq_freeze_queue_wait
On Tue, Nov 8, 2022 at 8:51 AM Keith Busch <kbusch@...nel.org> wrote:
> That is an old kernel, I think it'd be worth trying something newer to
> confirm if this observation isn't already fixed. Specifically, it looks
> like you have multiple namespaces timing out IO near simultaneously, and
> causing a mismatched handling. That kind of thing was fixed after the
> follow (plus some prior dependencies):
>
> commit d6135c3a1ec0cddda7b8b8e1b5b4abeeafd98289
> Author: Keith Busch <kbusch@...nel.org>
> Date: Tue May 14 14:46:09 2019 -0600
>
> nvme-pci: Sync queues on reset
On Tue, Nov 8, 2022 at 3:29 AM Hillf Danton <hdanton@...a.com> wrote:
>
> Given blk_mq_freeze_queue_wait() in the call trace, another explanation
> may be percpu refcount [1], which can be tested with the diff attached.
>
> Only for thoughts.
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/block/blk-mq.c?h=next-20221104#n228
>
> Hillf
Thanks Keith, Hillf, I will look into that.
Francesco
Powered by blists - more mailing lists