linux/drivers/scsi/mpt2sas
nagalakshmi.nandigama@lsi.com 39af7a9894 [SCSI] mpt2sas: Fix for hard drive going OFFLINE when hard reset issued and simultaneously another hard drive is hot unplugged
Following the host reset, the firmware discovery is reassigning another hard
drive in the topology to the same device handle as that device is getting hot
removed. Until the driver device removal routine is called, there will be two
hard drive with the matching device handle in the internal device link
list. In the device removal routine, a separate function which moves the
device from BLOCKED into OFFLINE state.  Since this routine is passed with the
device handle passed as input parameter, the routine will be traversing the
internal device link list searching for matching device handle. This results
in two devices with matching device handle, therefore both devices goes
OFFLINE.

To fix this issue,the input parameter is changed from device handle to SAS
address, therefore only the device that is hot unplugged will be placed in
OFFLINE state.

Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-04-23 19:27:44 +01:00
..
mpi [SCSI] mpt2sas: MPI next revision header update 2012-04-23 19:26:49 +01:00
Kconfig [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: Fix linux driver sparse errors 2012-04-23 19:27:27 +01:00
mpt2sas_base.h [SCSI] mpt2sas: Improvement were made to better protect the sas_device, raid_device, and expander_device lists 2012-04-23 19:27:15 +01:00
mpt2sas_config.c mpt2sas: Fix typo in mpt2sas_config.c 2012-02-03 22:45:35 +01:00
mpt2sas_ctl.c [SCSI] mpt2sas: Fix security scan issues reported by source code analysis tool 2012-04-23 19:27:21 +01:00
mpt2sas_ctl.h [SCSI] mpt2sas : WarpDrive New product SSS6200 support added 2011-05-01 10:36:54 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Fixed Big Indian Issues on 32 bit PPC 2011-06-29 16:07:00 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: Fix for hard drive going OFFLINE when hard reset issued and simultaneously another hard drive is hot unplugged 2012-04-23 19:27:44 +01:00
mpt2sas_transport.c [SCSI] mpt2sas: Set the phy identifier of the end device to the phy number of the parent device it is linked to 2012-04-23 19:27:38 +01:00