Re: [PATCH v3] scsi: ufs: core: Keep internal commands dispatchable during error handling
From: Martin K. Petersen (Oracle)
Date: Wed Sep 16 2026 - 22:30:45 EST
On Sat, 12 Sep 2026 21:16:25 +0800, Stanley Jhu wrote:
> Commit 08b12cda6c44 ("scsi: ufs: core: Switch to scsi_get_internal_cmd()")
> switched UFS internal commands to allocate requests on
> hba->host->pseudo_sdev->request_queue, which shares the host tagset with
> regular LUNs.
>
> During error recovery, ufshcd_err_handling_prepare() calls
> blk_mq_quiesce_tagset(&hba->host->tag_set), marking all queues in the
> tagset as quiesced, including pseudo_sdev->request_queue. When
> ufshcd_verify_dev_init() subsequently issues internal commands (e.g. NOP
> OUT UPIU) via blk_execute_rq(), blk_mq_run_hw_queue() skips running the
> quiesced queue, resulting in an unrecoverable circular wait deadlock.
>
> [...]
Applied to 7.3/scsi-fixes, thanks!
[1/1] scsi: ufs: core: Keep internal commands dispatchable during error handling
https://git.kernel.org/mkp/scsi/c/b52d695d0620
--
Martin K. Petersen