1. 25 1月, 2009 2 次提交
    • M
      [SCSI] qla4xxx: do not reuse session when connecting to different target port · 41bbdbeb
      Mike Christie 提交于
      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: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      41bbdbeb
    • M
      [SCSI] libiscsi: fix iscsi pool leak · 2f5899a3
      Mike Christie 提交于
      I am not sure what happened. It looks like we have always leaked
      the q->queue that is allocated from the kfifo_init call. nab finally
      noticed that we were leaking and this patch fixes it by adding a
      kfree call to iscsi_pool_free. kfifo_free is not used per kfifo_init's
      instructions to use kfree.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      2f5899a3
  2. 18 1月, 2009 4 次提交
  3. 17 1月, 2009 32 次提交
  4. 16 1月, 2009 2 次提交