OpenCloudOS-Kernel/drivers/scsi/ibmvscsi
Brian King 09dd15e0d9 scsi: ibmvfc: Avoid unnecessary port relogin
Following an RSCN, ibmvfc will issue an ADISC to determine if the
underlying target has changed, comparing the SCSI ID, WWPN, and WWNN to
determine how to handle the rport in discovery. However, the comparison
of the WWPN and WWNN was performing a memcmp between a big endian field
against a CPU endian field, which resulted in the wrong answer on LE
systems. This was observed as unexpected errors getting logged at boot
time as targets were getting relogins when not needed.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-03-15 00:52:33 -04:00
..
Makefile ibmvstgt: remove 2014-07-17 22:07:43 +02:00
ibmvfc.c scsi: ibmvfc: Avoid unnecessary port relogin 2018-03-15 00:52:33 -04:00
ibmvfc.h scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info 2018-01-30 21:16:27 -05:00
ibmvscsi.c scsi: ibmvscsi: Convert timers to use timer_setup() 2017-11-01 11:27:06 -07:00
ibmvscsi.h scsi: ibmvscsi: add vscsi hosts to global list_head 2016-12-08 17:02:01 -05:00