diff options
author | Luo Jiaxing <luojiaxing@huawei.com> | 2021-06-07 17:29:39 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-09 23:21:52 -0400 |
commit | e8a4d0daaef6fc8f965ca0b8e9585aa9698a0f24 (patch) | |
tree | 1bb209e51b9eb78254fe5058965e15609eeaa77b /include/scsi/fc | |
parent | 63ece9eb350312ee33327269480482dfac8555db (diff) |
scsi: hisi_sas: Speed up error handling when internal abort timeout occurs
If an internal task abort timeout occurs, the controller has developed a
fault, and needs to be reset to be recovered.
When this occurs during error handling, the current policy is to allow
error handling to continue, and the inevitable nexus ha reset will handle
the required reset.
However various steps of error handling need to taken before this happens.
These also involve some level of HW interaction, which will also fail with
various timeouts.
Speed up this process by recording a HW fault bit for an internal abort
timeout - when this is set, just automatically error any HW interaction,
and essentially go straight to clear nexus ha (to reset the controller).
Link: https://lore.kernel.org/r/1623058179-80434-6-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/fc')
0 files changed, 0 insertions, 0 deletions