]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] scsi_error.c: Add EH Start Unit retry
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 29 Mar 2007 20:25:52 +0000 (15:25 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 17 Apr 2007 21:55:36 +0000 (17:55 -0400)
commited773e66480fdcd06732eb2aa39362599dcd67fa
tree53b0a88ea4557efaea19e83701437b11e2dee1ff
parent18a6598f2d3bb7275dadba77df5f06bc996a77d4
[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: Brian King <brking@linux.vnet.ibm.com>
Patch modified and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_error.c