• Brian King's avatar
    [SCSI] use sysfs configured timeout for EH Start Unit timeout · e555db93
    Brian King authored
    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: default avatarBrian King <brking@linux.vnet.ibm.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    e555db93
scsi_error.c 50.4 KB