OpenCloudOS-Kernel/drivers/scsi/qla4xxx
Mike Christie 41bbdbebbb [SCSI] qla4xxx: do not reuse session when connecting to different target port
qla4xxx does not check the I_T nexus values correctly
so it ends up creating one session to the target. If
a portal should disappear or they should be reported
in different order the driver will think it is already
logged in when it could now be speaking to a different
target portal or accessing it through a different
initiator port (iscsi initiator port is not tied to
hardware and is just the initiator name plus isid
so you could end up with multiple ports through one
host).

This patch has the driver check the iscsi scsi port
values when matching sessions (we do not check
the initiator name because that is static). It results
in a portal from each target portal group getting
logged into instead of just one per target. In the future
the firmware should hopefully send us notification of other
sessions that are created to other portals within the
same tpgt and the sessions should have different isids.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-01-25 07:55:13 -06:00
..
Kconfig [PATCH] SCSI: ISCSI build failure 2006-10-31 08:13:19 -08:00
Makefile [SCSI] Initial Commit of qla4xxx 2006-10-04 13:34:04 -05:00
ql4_dbg.c [SCSI] qla4xxx: ql4_dbg.c remove dead code 2007-05-26 11:47:22 -05:00
ql4_dbg.h [SCSI] Maintain module-parameter name consistency with qla2xxx/qla4xxx. 2006-10-25 15:12:17 -07:00
ql4_def.h [SCSI] qla4xxx: do not reuse session when connecting to different target port 2009-01-25 07:55:13 -06:00
ql4_fw.h [SCSI] qla4xxx: fix scsi command completion, lun reset and target reset code 2008-04-07 12:19:00 -05:00
ql4_glbl.h [SCSI] qla4xxx: fix scsi command completion, lun reset and target reset code 2008-04-07 12:19:00 -05:00
ql4_init.c [SCSI] qla4xxx: do not reuse session when connecting to different target port 2009-01-25 07:55:13 -06:00
ql4_inline.h [SCSI] qla4xxx: add support for qla4032 2006-11-22 12:14:04 -06:00
ql4_iocb.c [SCSI] qla4xxx: fix scsi command completion, lun reset and target reset code 2008-04-07 12:19:00 -05:00
ql4_isr.c [SCSI] iscsi class, libiscsi and qla4xxx: convert to new transport host byte values 2008-10-13 09:28:49 -04:00
ql4_mbx.c trivial: Fix misspelling of "firmware" in ql4_mbx.c 2009-01-06 11:28:08 +01:00
ql4_nvram.c [SCSI] qla4xxx: update rev num and misc cleanup 2007-05-26 11:47:40 -05:00
ql4_nvram.h [SCSI] qla4xxx: add support for qla4032 2006-11-22 12:14:04 -06:00
ql4_os.c drivers: replace NIPQUAD() 2008-10-31 00:56:00 -07:00
ql4_version.h [SCSI] qla4xxx: Fix underrun/overrun conditions 2007-07-14 19:11:38 -05:00