Re: [PATCH 07/11] scsi: ufs: Fix a deadlock in the error handler

Bart Van Assche
2021-11-15T18:33:02Z

On 11/10/21 11:33 PM, Avri Altman wrote:
>> @@ -8152,7 +8147,8 @@ static struct scsi_host_template
>> ufshcd_driver_template = {
>> .this_id = -1,
>> .sg_tablesize = SG_ALL,
>> .cmd_per_lun = UFSHCD_CMD_PER_LUN,
>
> UFSHCD_CMD_PER_LUN needs to be < 32 as well?

I will make that change although that change should not affect the
behavior of the UFS driver since the SCSI core limits cmd_per_lun to
host->can_queue.

Thanks,

Bart.