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

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

 



+AD4- +AD4- On Wed, Mar 27, 2024 at 07:39:55AM +-0000, Norihiko Hama wrote:
+AD4- +AD4- +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- +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- +AD4- +AD4- 1 second does not meet with performance requirement.
+AD4- +AD4- +AD4-
+AD4- +AD4- +AD4- Who is requiring such a performance requirement?  The USB specification?
+AD4- +AD4- +AD4- Or something else?
+AD4- +AD4- This is our customer requirement.
+AD4-
+AD4- If it is impossible to do, why are they making you do it?  :)

It's possible to do because we've changed code to minimize delay by ourselves,
Then no issue observed when we configured delay to 100 msec as far as we have tested.
The background for the requirement, it's important for end user how quickly access to USB drive when it's connected.
Of course there are a lot of overhead to do that but that's why we would like to have a chance to minimize such a constant long delay.

+AD4- +AD4- 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.
+AD4-
+AD4- So how do you know that making this smaller will help?  There are many many odd and broken devices out there that take a long time to spin up before they are able to be +AD4- accessed.  That's what that option is there for, if you +ACI-know+ACI- you don't need to wait, you don't have to wait.
+AD4- Otherwise you HAVE to wait as you do not know how long things take.

As previous my comment, we've changed code to minimize delay by ourselves,
Then no issue observed when we configured delay to 100 msec as far as we have tested.
Sorry, we have no theoretical proof but I think it's same situation with current 1 sec delay.
So we want to have a chance to change such a constant delay.





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

  Powered by Linux