linux/drivers/scsi/mpt3sas
Suganath Prabu 9029a72500 scsi: mpt3sas: Fix Sync cache command failure during driver unload
This is to fix SYNC CACHE and START STOP command failures with
DID_NO_CONNECT during driver unload.

In driver's IO submission patch (i.e. in driver's .queuecommand()) driver
won't allow any SCSI commands to the IOC when ioc->remove_host flag is set
and hence SYNC CACHE commands which are issued to the target drives (where
write cache is enabled) during driver unload time is failed with
DID_NO_CONNECT status.

Now modified the driver to allow SYNC CACHE and START STOP commands to IOC,
even when remove_host flag is set.

Signed-off-by: Suganath Prabu <suganath-prabu.subramani@broadcom.com>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-11-06 20:16:01 -05:00
..
mpi scsi: mpt3sas: Update MPI headers to support Aero controllers 2018-11-06 20:16:01 -05:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpt3sas_base.c scsi: mpt3sas: Refactor mpt3sas_wait_for_ioc function 2018-11-06 20:16:01 -05:00
mpt3sas_base.h scsi: mpt3sas: Separate out mpt3sas_wait_for_ioc 2018-11-06 20:16:01 -05:00
mpt3sas_config.c scsi: mpt3sas: Separate out mpt3sas_wait_for_ioc 2018-11-06 20:16:01 -05:00
mpt3sas_ctl.c scsi: mpt3sas: Separate out mpt3sas_wait_for_ioc 2018-11-06 20:16:01 -05:00
mpt3sas_ctl.h scsi: mpt3sas: Increase event log buffer to support 24 port HBA's. 2018-05-08 00:34:20 -04:00
mpt3sas_debug.h
mpt3sas_scsih.c scsi: mpt3sas: Fix Sync cache command failure during driver unload 2018-11-06 20:16:01 -05:00
mpt3sas_transport.c scsi: mpt3sas: Call sas_remove_host before removing the target devices 2018-11-06 20:16:01 -05:00
mpt3sas_trigger_diag.c scsi: mpt3sas: Convert uses of pr_<level> with MPT3SAS_FMT to ioc_<level> 2018-10-10 22:00:43 -04:00
mpt3sas_trigger_diag.h
mpt3sas_warpdrive.c scsi: mpt3sas: Convert uses of pr_<level> with MPT3SAS_FMT to ioc_<level> 2018-10-10 22:00:43 -04:00