linux/drivers/scsi/mpt2sas
Kashyap, Desai ec07a05359 [SCSI] mpt2sas: Fix the race between broadcast asyn event and scsi command completion
False timeout after hard resets, there were two issues which leads
to timeout.
(1) Panic because of invalid memory access in the broadcast asyn
event processing routine due to a race between accessing the scsi command
pointer from broadcast asyn event processing thread and completing
the same scsi command from the interrupt context.
(2)  Broadcast asyn event notifcations are not handled due to events
ignored while the broadcast asyn event is activity being processed
from the event process kernel thread.

In addition, changed the ABRT_TASK_SET to ABORT_TASK in the
broadcast async event processing routine.   This is less disruptive to other
request that generate Broadcast Asyn Primitives besides target
reset. e.g clear reservations, microcode download,and mode select.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-01-24 09:24:28 -06:00
..
mpi [SCSI] mpt2sas: MPI 2.0 Header updated 2010-12-21 12:24:05 -06:00
Kconfig [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
Makefile [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
mpt2sas_base.c [SCSI] mpt2sas: Correct resizing calculation for max_queue_depth 2011-01-24 09:22:24 -06:00
mpt2sas_base.h [SCSI] mpt2sas: Bump version 07.100.00.00 2010-12-21 12:24:09 -06:00
mpt2sas_config.c [SCSI] mpt2sas: driver fails to recover from injected PCIe bus errors 2010-07-27 12:04:03 -05:00
mpt2sas_ctl.c [SCSI] mpt2sas: Removed compiler warnnings when logging is disabled 2010-12-21 12:24:02 -06:00
mpt2sas_ctl.h [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: Fix the race between broadcast asyn event and scsi command completion 2011-01-24 09:24:28 -06:00
mpt2sas_transport.c [SCSI] mpt2sas: Modify code to support Expander switch 2010-12-21 12:24:05 -06:00