android_kernel_xiaomi_sm8350/drivers/scsi/ibmvscsi
Brian King a3b7aeaba2 [SCSI] ibmvfc: Better handle other FC initiators
The ibmvfc driver currently always sets the role of all rports
to FC_PORT_ROLE_FCP_TARGET, which is not correct for other initiators.
This can cause problems if other initiators are on the fabric
when we then try to scan the rport for LUNs. Fix this by looking
at the service parameters returned in the PRLI to set the roles
appropriately. Also look at the returned service parameters to
decide whether or not we were actually able to successfully log into
the target.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-12 12:58:12 -05:00
..
ibmvfc.c [SCSI] ibmvfc: Better handle other FC initiators 2009-03-12 12:58:12 -05:00
ibmvfc.h [SCSI] ibmvfc: Increase cancel timeout 2009-02-10 11:15:18 -05:00
ibmvscsi.c [SCSI] ibmvscsi: Correct DMA mapping leak 2009-02-10 11:15:17 -05:00
ibmvscsi.h
ibmvstgt.c
iseries_vscsi.c
Makefile
rpa_vscsi.c
viosrp.h