]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] use sysfs configured timeout for EH Start Unit timeout
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 19 Apr 2007 18:59:59 +0000 (13:59 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 6 May 2007 14:33:12 +0000 (09:33 -0500)
commite555db930f7512491485cfc43df4306192835373
treee1048808198385236bad31e778528725d53178c3
parent2a4aa2c4b206c77b7cf522300ae9b616b0a883a4
[SCSI] use sysfs configured timeout for EH Start Unit timeout

Use the sysfs configurable timeout when issuing a START_UNIT
command from the scsi error handler. This is needed for devices which
take longer than thirty seconds to respond to the start
unit. The problem was observed when sending a start unit
to a disk array device in an ipr RAID adapter, which results
in the adapter firmware sending potentially multiple commands
to physical devices as a result of this command, which ended
up timing out sometimes. This patch does not change the default
value used for this command.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_error.c