Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] libfc: Retry a rejected PRLI request

Retry upto max_rport_retry_count when a target responds with
LS_RJT for a PRLI request.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

authored by

Bhanu Prakash Gollapudi and committed by
James Bottomley
292e40b9 516a6486

+1 -1
+1 -1
drivers/scsi/libfc/fc_rport.c
··· 739 739 740 740 } else { 741 741 FC_RPORT_DBG(rdata, "Bad ELS response for PRLI command\n"); 742 - fc_rport_enter_delete(rdata, RPORT_EV_FAILED); 742 + fc_rport_error_retry(rdata, fp); 743 743 } 744 744 745 745 out: