[SCSI] lpfc 8.1.7: Add lpfc_sli_flush_mbox_queue() function
Add lpfc_sli_flush_mbox_queue() function and use it in lpfc_offline() call to avoid deadlock on thread block. Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
ce8b3ce55b
commit
b4c026520f
@ -1353,6 +1353,7 @@ lpfc_offline(struct lpfc_hba * phba)
|
||||
psli = &phba->sli;
|
||||
|
||||
lpfc_linkdown(phba);
|
||||
lpfc_sli_flush_mbox_queue(phba);
|
||||
|
||||
for (i = 0; i < psli->num_rings; i++) {
|
||||
pring = &psli->ring[i];
|
||||
|
Reference in New Issue
Block a user