diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2011-01-04 06:10:23 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 15:30:29 (GMT) |
commit | 3a9c913a3e57b170887d39456e04c18f2305ec67 (patch) | |
tree | 88dd8e1da321190392d58634b7effabf23acdfd1 /drivers/scsi/arcmsr/arcmsr_attr.c | |
parent | 4224489f45b503f0a1f1cf310f76dc108f45689a (diff) | |
download | linux-fsl-qoriq-3a9c913a3e57b170887d39456e04c18f2305ec67.tar.xz |
[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>
Diffstat (limited to 'drivers/scsi/arcmsr/arcmsr_attr.c')
0 files changed, 0 insertions, 0 deletions