linux/drivers/scsi/mpt2sas
Kashyap, Desai f891dcfdc1 [SCSI] mpt2sas: Corrected conditional checks for Internal device Reset
bug fix in the handling of the internal device reset event
The reason code check in scsih_sas_device_status_change_event never
evaluates as true for internal device reset, hence driver never quiesce s IO
when firmware is sending a device reset. The fix is to change the
evaluate to:
if (event_data->ReasonCode !=
    MPI2_EVENT_SAS_DEV_STAT_RC_INTERNAL_DEVICE_RESET &&
   event_data->ReasonCode !=
    MPI2_EVENT_SAS_DEV_STAT_RC_CMP_INTERNAL_DEV_RESET)
        return;

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-04-11 09:23:54 -05:00
..
mpi [SCSI] mpt2sas: Update driver header to latest MPI Spec. 2010-02-08 18:19:44 -06:00
Kconfig [SCSI] mpt2sas: Added raid transport support 2010-02-08 18:19:41 -06:00
Makefile [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
mpt2sas_base.c [SCSI] mpt2sas: Corrected time stamp 2010-04-11 09:23:54 -05:00
mpt2sas_base.h [SCSI] mpt2sas : Device removal algorithm in interrupt context only 2010-04-11 09:23:29 -05:00
mpt2sas_config.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mpt2sas_ctl.c [SCSI] mpt2sas: Use compat_ptr to setup the pointer compatibility. 2010-02-08 18:19:40 -06:00
mpt2sas_ctl.h [SCSI] mpt2sas: Add Extended Type for Diagnostic Buffer support 2009-10-29 13:03:11 -04:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: Corrected conditional checks for Internal device Reset 2010-04-11 09:23:54 -05:00
mpt2sas_transport.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00