RE: [PATCH] usb-storage: Optimize scan delay more precisely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 27, 2024 at 07:39:55AM +-0000, Norihiko Hama wrote:
+AD4- +AD4- +AD4- Sorry, but module parameters are from the 1990's, we will not go back to that if at all possible as it's not easy to maintain and will not work properly for multiple devices.
+AD4- +AD4- +AD4-
+AD4- +AD4- +AD4- I can understand wanting something between 1 and 0 seconds, but adding yet-another-option isn't probably the best way, sorry.
+AD4- +AD4- 1 second does not meet with performance requirement.
+AD4-
+AD4- Who is requiring such a performance requirement?  The USB specification?
+AD4- Or something else?
This is our customer requirement.

+AD4- +AD4- I have no good idea except module parameter so that we can maintain backward compatibility but be configurable out of module.
+AD4- +AD4- Do you have any other better solution?
+AD4- How long do you exactly need to wait?  Why not figure out how long the device takes and if it fails, slowly back off until the full time delay happens and then you can abort?
It's IOP issue and difficult to figure out because it depends on device itself.
I know we have multiple devices with delay+AF8-use+AD0-0, but then it's recovered and detected by reset after 30s timeout, that is too long than 1 sec.





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux