linux_dsm_epyc7002/drivers/scsi/mpt3sas
Sreekanth Reddy df838f92f3 mpt3sas: When device is blocked followed by unblock fails, unfreeze the I/Os
Issue: When the disks are getting discovered and assigned device
handles by the kernel, a device block followed by an unblock
(due to broadcast primitives) issued by the driver is
interspersed by the kernel changing the state of the device.
Therefore the unblock by the driver results in a no operation
within the kernel API.

To fix this one, the below patch checks the return of the unblock API
and performs a block followed by an unblock to unfreeze the block
layer's I/O queue. Sufficient checks and prints are also added in the
driver to identify this condition caused by the kernel.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-08-27 11:08:31 -07:00
..
mpi mpt3sas: MPI 2.5 Rev K (2.5.6) specifications 2015-08-27 11:08:28 -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 mpt3sas: Added support for customer specific branding 2015-08-27 11:08:30 -07:00
mpt3sas_base.h mpt3sas: Added support for customer specific branding 2015-08-27 11:08:30 -07:00
mpt3sas_config.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_ctl.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_ctl.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_debug.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_scsih.c mpt3sas: When device is blocked followed by unblock fails, unfreeze the I/Os 2015-08-27 11:08:31 -07:00
mpt3sas_transport.c mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API 2015-08-27 11:08:31 -07:00
mpt3sas_trigger_diag.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_trigger_diag.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00