]> git.baikalelectronics.ru Git - kernel.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 18:16:24 +0000 (11:16 -0700)
commit6473bf1ce38b8bbe2d2112025d29fbd081f679e0
tree1dffcde9c45f276b264c83511b6168baab4307a4
parent12eb40f3203d4bd33c0f15d457c1d71eaaf7d480
[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