On Wed, 22 Sep 2021 12:10:59 +0300, Adrian Hunter wrote: > The UFS driver uses blk_mq_tagset_busy_iter() when identifying task > management requests to complete, however blk_mq_tagset_busy_iter() > doesn't work. > > blk_mq_tagset_busy_iter() only iterates requests dispatched by the block > layer. That appears as if it might have started since commit 37f4a24c2469a1 > ("blk-mq: centralise related handling into blk_mq_get_driver_tag") which > removed 'data->hctx->tags->rqs[rq->tag] = rq' from blk_mq_rq_ctx_init() > which gets called: > > [...] Applied to 5.15/scsi-fixes, thanks! [1/1] scsi: ufs: Fix task management completion https://git.kernel.org/mkp/scsi/c/f5ef336fd2e4 -- Martin K. Petersen Oracle Linux Engineering