Re: "blk-mq: fix tag_get wait task can't be awakened" causes hangs

From: Jens Axboe
Date: Wed Jan 26 2022 - 08:38:40 EST


On 1/24/22 9:08 PM, QiuLaibin wrote:
> Hi Alex
>
> 1、Please help to import this structure:
>
> blk_mq_tags <= request_queue->blk_mq_hw_ctx->blk_mq_tags
>
> If there is no kernel dump, help to see the value of
>
> cat /sys/block/sda/mq/0/nr_tags
> __ <= Change it to the problem device
>
> And how many block devices in total by lsblk.
>
> 2、Please describe in detail how to reproduce the issue,
>
> And what type of USB device?
>
> 3、Please help to try the attachment patch and see if it can be reproduced.

Any progress on this? I strongly suspect that any QD=1 setup would
trivially show the issue, based on the reports.

--
Jens Axboe