mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
scsi: megaraid_sas: During OCR, if get_ctrl_info fails do not continue with OCR
Error handling: If controller reset is not able to recover, kill HBA and quit immediately. Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
1d6dbd1752
commit
a6821ca39e
1 changed files with 1 additions and 0 deletions
|
@ -4285,6 +4285,7 @@ int megasas_reset_fusion(struct Scsi_Host *shost, int reason)
|
||||||
__func__, __LINE__);
|
__func__, __LINE__);
|
||||||
megaraid_sas_kill_hba(instance);
|
megaraid_sas_kill_hba(instance);
|
||||||
retval = FAILED;
|
retval = FAILED;
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
/* Reset load balance info */
|
/* Reset load balance info */
|
||||||
if (fusion->load_balance_info)
|
if (fusion->load_balance_info)
|
||||||
|
|
Loading…
Reference in a new issue