-
由 Brian King 提交于
Currently, the scsi error handler will issue a START_UNIT command if the drive indicates it needs its motor started and the allow_restart flag is set in the scsi_device. If, after the scsi error handler invokes a host adapter reset due to error recovery, a device is in a unit attention state AND also needs a START_UNIT, that device will be placed offline. The disk array devices on an ipr RAID adapter will do exactly this when in a dual initiator configuration. This patch adds a single retry to the EH initiated START_UNIT. Signed-off-by: NBrian King <brking@linux.vnet.ibm.com> Patch modified and Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
ed773e66