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
|
@ -4285,6 +4285,7 @@ transition_to_ready:
|
|||
__func__, __LINE__);
|
||||
megaraid_sas_kill_hba(instance);
|
||||
retval = FAILED;
|
||||
goto out;
|
||||
}
|
||||
/* Reset load balance info */
|
||||
if (fusion->load_balance_info)
|
||||
|
|
Loading…
Reference in New Issue