Name
scsi_test_lun —
waiting for a LUN to become ready
Synopsis
int scsi_test_lun ( | struct scsi_device * sdev) ; |
Description
Wait for the lun associated with sdev
to become ready
Send a TEST UNIT READY to detect any unit attention conditions.
Retry TEST UNIT READY for up to scsi_scan_timeout
if the
returned sense key is 02/04/01 (Not ready, Logical Unit is
in process of becoming ready)