]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: improve flogi retries to avoid lport stuck
authorVasu Dev <vasu.dev@intel.com>
Fri, 28 Oct 2011 18:34:23 +0000 (11:34 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 31 Oct 2011 09:27:43 +0000 (13:27 +0400)
commit9f1587edbf6298b39110a6225c8a74cda7057f7d
tree4d25bde865cc84feebf93d73c7dd186a6e15be2a
parent57cd5aca8ae3712c54f287305f59330bd24e3a56
[SCSI] libfc: improve flogi retries to avoid lport stuck

Adds more cases to do flogi retry, now also retry
on getting bad response due to either no ELS response
or flogi response payload length not large enough.
In those cases flogi was not retried and that
was leaving lport offline.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fcoe/fcoe.c
drivers/scsi/libfc/fc_lport.c