linux_dsm_epyc7002/drivers/scsi/mpt3sas
Sreekanth Reddy ddb588bebe mpt2sas, mpt3sas: Fail the host reset initiated due to discovery related I/O timeouts at driver load time
When a flaky disk is there in a topology then during driver load,
discovery related I/O times out; which results in SCSI error recovery
initiating host reset and then the controller won't see any disk.

In this patch, The driver would return FAILED status to the host reset
initiated due to discovery related I/O timeout if ioc->is_driver_loading
is set. This flag would be set until we exit out of scsih_scan_finished().
i.e.
During device discovery if one of the disk is flaky
(which responds to some discovery commands and doesn't respond to some)
the driver wouldn't perform host reset for discovery related I/O timeout.
Instead it would return Failure for the host reset resulting in the
flaky disk getting removed by the SCSI Mid layer,
so other disks would be added correctly.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-01-13 16:27:24 +01:00
..
mpi mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
Kconfig mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
Makefile [SCSI] Allow MPT Fusion SAS 3.0 driver to be built into the kernel 2013-09-06 11:42:53 -07:00
mpt3sas_base.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_base.h mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_config.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_ctl.c mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_ctl.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_debug.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_scsih.c mpt2sas, mpt3sas: Fail the host reset initiated due to discovery related I/O timeouts at driver load time 2015-01-13 16:27:24 +01:00
mpt3sas_transport.c Revert "[SCSI] mpt3sas: Remove phys on topology change" 2014-12-04 09:58:34 +01:00
mpt3sas_trigger_diag.c mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_trigger_diag.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00