Re: [PATCH v5 1/2] scsi: ufs: Fix task management request completion timeout

Bart Van Assche
2021-04-02T00:10:00Z

On 4/1/21 12:39 AM, Can Guo wrote:
> ufshcd_tmc_handler() calls blk_mq_tagset_busy_iter(fn = ufshcd_compl_tm()),
> but since blk_mq_tagset_busy_iter() only iterates over all reserved tags
> and requests which are not in IDLE state, ufshcd_compl_tm() never gets a
> chance to run. Thus, TMR always ends up with completion timeout. Fix it by
> calling blk_mq_start_request() in __ufshcd_issue_tm_cmd().

Reviewed-by: Bart Van Assche <bvanassche@acm.org>