[SCSI] Allow error handling timeout to be specified
Introduce eh_timeout which can be used for error handling purposes. This was previously hardcoded to 10 seconds in the SCSI error handling code. However, for some fast-fail scenarios it is necessary to be able to tune this as it can take several iterations (bus device, target, bus, controller) before we give up. Signed-off-by:Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
James Bottomley <JBottomley@Parallels.com>
Showing
- drivers/scsi/scsi_error.c 3 additions, 4 deletionsdrivers/scsi/scsi_error.c
- drivers/scsi/scsi_scan.c 2 additions, 0 deletionsdrivers/scsi/scsi_scan.c
- drivers/scsi/scsi_sysfs.c 30 additions, 0 deletionsdrivers/scsi/scsi_sysfs.c
- include/scsi/scsi.h 5 additions, 0 deletionsinclude/scsi/scsi.h
- include/scsi/scsi_device.h 1 addition, 0 deletionsinclude/scsi/scsi_device.h
Loading
Please register or sign in to comment