diff options
author | bo yang <boyang1288@gmail.com> | 2010-09-23 04:36:29 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-08 00:33:09 +0200 |
commit | 39a985547cbfcbb0b23667b69b8ae82a6cf312ac (patch) | |
tree | 1a4f526e4de45b56408e03f353d584cbd8c1ab37 /drivers/scsi/scsicam.c | |
parent | [SCSI] lpfc 8.3.17: Update lpfc driver version to 8.3.17 (diff) | |
download | linux-39a985547cbfcbb0b23667b69b8ae82a6cf312ac.tar.xz linux-39a985547cbfcbb0b23667b69b8ae82a6cf312ac.zip |
[SCSI] megaraid_sas: Add Online Controller Reset to MegaRAID SAS drive
To add the Online controller reset support, driver need to do:
a). reset the controller chips -- Xscale and Gen2 which will change
the function calls and add the reset function related to this two
chips.
b). during the reset, driver will store the pending cmds which not
returned by FW to driver's pending queue. Driver will re-issue those
pending cmds again to FW after the OCR finished.
c). In driver's timeout routine, driver will report to OS as reset.
Also driver's queue routine will block the cmds until the OCR
finished.
d). in Driver's ISR routine, if driver get the FW state as state
change, FW in Failure status and FW support online controller
reset (OCR), driver will start to do the controller reset.
e). In driver's IOCTL routine, the application cmds will wait for the
OCR to finish, then issue the cmds to FW.
Signed-off-by Bo Yang <bo.yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsicam.c')
0 files changed, 0 insertions, 0 deletions