1. 12 7月, 2008 7 次提交
  2. 09 5月, 2008 1 次提交
  3. 08 5月, 2008 1 次提交
    • M
      [SCSI] libiscsi regression in 2.6.25: fix nop timer handling · 4cf10435
      Mike Christie 提交于
      The following patch fixes a bug in the iscsi nop processing.
      The target sends iscsi nops to ping the initiator and the
      initiator has to send nops to reply and can send nops to
      ping the target.
      
      In 2.6.25 we moved the nop processing to the kernel to handle
      problems when the userspace daemon is not up, but the target
      is pinging us, and to handle when scsi commands timeout, but
      the transport may be the cause (we can send a nop to check
      the transport). When we added this code we added a bug where
      if the transport timer wakes at the exact same time we are supposed to check
      for a nop timeout we drop the session instead of checking the transport.
      
      This patch checks if a iscsi ping is outstanding and if the ping has
      timed out, to determine if we need to signal a connection problem.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      4cf10435
  4. 19 4月, 2008 2 次提交
  5. 28 2月, 2008 1 次提交
  6. 08 2月, 2008 5 次提交
  7. 12 1月, 2008 15 次提交
  8. 15 11月, 2007 1 次提交
  9. 16 8月, 2007 2 次提交
  10. 27 7月, 2007 2 次提交
  11. 18 6月, 2007 1 次提交
  12. 03 6月, 2007 2 次提交
    • M
      [SCSI] iscsi class, iscsi_tcp, iser, qla4xxx: add netdevname sysfs attr · d8196ed2
      Mike Christie 提交于
      iSCSI must support software iscsi (iscsi_tcp, iser), hardware iscsi (qla4xxx),
      and partial offload (broadcom). To be able to allow each stack or driver
      or port (virtual or physical) to be able to log into the same target portal
      we use the initiator tuple [[HWADDRESS | NETDEVNAME], INITIATOR_NAME] and
      the target tuple [TARGETNAME, CONN_ADDRESS, CONN_PORT] to id a session.
      This patch adds the netdev name, which is used by software iscsi when
      it binds a session to a netdevice using the SO_BINDTODEVICE sock opt.
      It cannot use HWADDRESS because if someone did vlans then the same netdevice
      will have the same mac and the initiator,target id will not be unique.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Cc: Roland Dreier <rdreier@cisco.com>
      Cc: David C Somayajulu <david.somayajulu@qlogic.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      d8196ed2
    • M
      [SCSI] libiscsi: make can_queue configurable · 1548271e
      Mike Christie 提交于
      This patch allows us to set can_queue and cmds_per_lun from userspace
      when we create the session/host. From there we can set it on a per
      target basis. The patch fully converts iscsi_tcp, but only hooks
      up ib_iser for cmd_per_lun since it currently has a lots of preallocations
      based on can_queue.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Cc: Roland Dreier <rdreier@cisco.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      1548271e