Re: [PATCH] UFS: Make TM command timeout configurable from host side

From: Peter Wang (王信友)
Date: Tue Nov 18 2025 - 00:53:12 EST


On Mon, 2025-11-17 at 08:40 -0800, Bart Van Assche wrote
>
> Hannes, do you agree with increasing the max_active argument from 1
> to
> INT_MAX? I think the above code was introduced 12 years ago by commit
> e494f6a72839 ("[SCSI] improved eh timeout handler").
>
> Thanks,
>
> Bart.

Hi Bart,

I think we can change max_active, but using the default value of 0
should be sufficient, according to workqueue.rst.

The maximum limit for ``@max_active`` is 2048 and the default value
used
when 0 is specified is 1024. These values are chosen sufficiently high
such that they are not the limiting factor while providing protection
in
runaway cases.

Thanks
Peter