Re: [PATCH] scsi-generic: fix io_timeout property not applying

2024-03-26 Thread Philippe Mathieu-Daudé
On 15/3/24 15:58, Lorenz Brun wrote: The io_timeout property, introduced in c9b6609 (part of 6.0) is silently overwritten by the hardcoded default value of 30 seconds (DEFAULT_IO_TIMEOUT) in scsi_generic_realize because that function is being called after the properties have already been applied.

Re: [PATCH] scsi-generic: fix io_timeout property not applying

2024-03-15 Thread Alex Bennée
Lorenz Brun writes: > The io_timeout property, introduced in c9b6609 (part of 6.0) is > silently overwritten by the hardcoded default value of 30 seconds > (DEFAULT_IO_TIMEOUT) in scsi_generic_realize because that function is > being called after the properties have already been applied. > > The

[PATCH] scsi-generic: fix io_timeout property not applying

2024-03-15 Thread Lorenz Brun
The io_timeout property, introduced in c9b6609 (part of 6.0) is silently overwritten by the hardcoded default value of 30 seconds (DEFAULT_IO_TIMEOUT) in scsi_generic_realize because that function is being called after the properties have already been applied. The property definition already has a