diff options
author | Sreekanth Reddy <sreekanth.reddy@broadcom.com> | 2019-12-26 14:13:28 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-01-03 06:23:16 +0300 |
commit | fce0aa08792b3ae725395fa25d44507dee0b603b (patch) | |
tree | ab7afe5a9c8675f190876addae007aa9a106eb91 /tools | |
parent | e8c2307e6a690db9aaff84153b2857c5c4dfd969 (diff) | |
download | linux-fce0aa08792b3ae725395fa25d44507dee0b603b.tar.xz |
scsi: mpt3sas: Handle CoreDump state from watchdog thread
Watchdog thread polls for IOC state every 1 second. If it detects that IOC
state is in CoreDump state then it immediately stops the IOs and also
clears the outstanding commands issued to the HBA firmware and then it will
poll for IOC state to be out of CoreDump state and once it detects that IOC
state is changed from CoreDump state to Fault state (or) CoreDumpTOSec
number of seconds are elapsed then it will issue host reset operation and
moves the IOC state to Operational state and resumes the IOs.
Whenever any TM is received from SML then if driver detects the IOC state
is in CoreDump state then it will wait for CoreDump state to be cleared and
will host reset operation.
Link: https://lore.kernel.org/r/20191226111333.26131-6-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions