]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] Allow error handling timeout to be specified
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 10 May 2013 14:36:04 +0000 (10:36 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 4 Jun 2013 17:42:09 +0000 (10:42 -0700)
commitc58b4e063f6002756be13df2b85e1c32380c47d0
tree1dffcde9c45f276b264c83511b6168baab4307a4
parent1adaf64336837f8ced0debea0b395082c6b2a778
[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>
drivers/scsi/scsi_error.c
drivers/scsi/scsi_scan.c
drivers/scsi/scsi_sysfs.c
include/scsi/scsi.h
include/scsi/scsi_device.h