Re: [PATCH v2 13/20] scsi: ufs: Fix a deadlock in the error handler

Bart Van Assche
2021-11-30T19:32:46Z

On 11/30/21 12:54 AM, Bean Huo wrote:
> We are looking for alternative
> methods: for example, to fix this problem from the SCSI layer;
> Add a new dedicated hardware device management queue on the UFS device
> side.

Hi Bean,

I don't think that there are any alternatives. If all host controller tags
are in use, it is not possible to implement a mechanism in software to
create an additional tag. Additionally, stealing a tag is not possible since
no new request can be submitted to a UFS controller if all tags are in use.

Thanks,

Bart.