diff options
| author | Suganath Prabu <[email protected]> | 2018-10-31 18:53:36 +0530 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-11-06 20:16:01 -0500 |
| commit | 9029a72500b95578a35877a43473b82cb0386c53 (patch) | |
| tree | 66cad46bd3d45ddb9acff611d3aa0be0b1f44ab0 /include/linux/debugobjects.h | |
| parent | dc730212e8a378763cb182b889f90c8101331332 (diff) | |
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 <[email protected]>
Reviewed-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions