Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ed773e66 authored by Brian King's avatar Brian King Committed by James Bottomley
Browse files

[SCSI] scsi_error.c: Add EH Start Unit retry



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: default avatarBrian King <brking@linux.vnet.ibm.com>

Patch modified and
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 18a6598f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment