On Fri, 24 Jul 2020 11:55:31 -0400, Douglas Gilbert wrote: > The current driver responds to TEST UNIT READY (TUR) with a GOOD > status immediately after a scsi_debug device (LU) is created. This is > unrealistic as even SSDs take some time after power-on before > accepting media access commands. > > Add the tur_ms_to_ready parameter whose unit is milliseconds (default > 0) and is the period before which a TUR (or any media access command) > will set the CHECK CONDITION status with a sense key of NOT READY and > an additional sense of "Logical unit is in process of becoming ready". > The period starts when each scsi_debug device is created. > > [...] Applied to 5.9/scsi-queue, thanks! [1/1] scsi: scsi_debug: Implement tur_ms_to_ready parameter https://git.kernel.org/mkp/scsi/c/fc13638ae92e -- Martin K. Petersen Oracle Linux Engineering