Re: nvme: hung task in blk_mq_freeze_queue_wait

From: Keith Busch
Date: Tue Nov 08 2022 - 11:51:40 EST


On Mon, Nov 07, 2022 at 06:56:02PM -0800, Francesco Ruggeri wrote:
> [ 4390.119745] INFO: task kworker/u80:2:8279 blocked for more than 300 seconds.
> [ 4390.471456] Tainted: P O 4.19.142.Ar-29007847.buytenhb7335070 #1

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@xxxxxxxxxx>
Date: Tue May 14 14:46:09 2019 -0600

nvme-pci: Sync queues on reset