WSL2-Linux-Kernel/drivers/scsi/mpt2sas
Kashyap, Desai 3a9c913a3e [SCSI] mpt2sas: fix Integrated Raid unsynced on shutdown problem
Issue:
IR shutdown(sending) and IR shutdown(complete) messages not
listed in /var/log/messages when driver is removed.

The driver needs to issue a MPI2_RAID_ACTION_SYSTEM_SHUTDOWN_INITIATED
request when the driver is unloaded so the IR metadata journal is updated.
If this request is not sent, then the volume would need a "check
consistency" issued on the next bootup if the volume was roamed from one
initiator to another. The current driver supports this feature only when the
system is rebooted, however this also need to be supported if the driver is
unloaded

Fix:
To fix this issue, the driver is going
to need to call the _scsih_ir_shutdown prior to reporting
the volumes missing from the OS, hence the device handles
are still present.

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:30:29 -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: Kernel Panic during Large Topology discovery 2011-01-24 09:28:00 -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 Integrated Raid unsynced on shutdown problem 2011-01-24 09:30:29 -06:00
mpt2sas_transport.c [SCSI] mpt2sas: Modify code to support Expander switch 2010-12-21 12:24:05 -06:00