android_kernel_motorola_sm6225/drivers/scsi/mpt2sas
Kashyap, Desai f1c35e6aea [SCSI] mpt2sas: RESCAN Barrier work is added in case of HBA reset.
Add the cancel_pending_work flag from the fw_event_work structure, and then to
set the flag during host reset, check the flag later from work threads
context and if cancel_pending_work_flag is set ingore those events.

Now Rescan after host reset is changed.
Added special task MPT2SAS_RESCAN_AFTER_HOST_RESET. This task will be queued
at the time of HBA reset. this task is treated as barrier. All work after
MPT2SAS_RESCAN_AFTER_HOST_RESET will be treated as new work and will be
server by callback handle. If host_recovery is going on while running RESCAN
task, it will wait for shos_recovery_done completion which will be called
from HBA reset DONE context.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Reviewed-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-04-11 09:23:27 -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: RESCAN Barrier work is added in case of HBA reset. 2010-04-11 09:23:27 -05:00
mpt2sas_base.h [SCSI] mpt2sas: RESCAN Barrier work is added in case of HBA reset. 2010-04-11 09:23:27 -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: RESCAN Barrier work is added in case of HBA reset. 2010-04-11 09:23:27 -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