1. 07 Aug, 2016 1 commit
  2. 25 Jul, 2016 2 commits
  3. 24 Jul, 2016 2 commits
  4. 20 Jul, 2016 8 commits
  5. 07 Jun, 2016 2 commits
  6. 17 May, 2016 1 commit
    • Nicholas Bellinger's avatar
      iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race · 8f0dfb3d
      Nicholas Bellinger authored
      There is a iscsi-target/tcp login race in LOGIN_FLAGS_READY
      state assignment that can result in frequent errors during
      iscsi discovery:
      
            "iSCSI Login negotiation failed."
      
      To address this bug, move the initial LOGIN_FLAGS_READY
      assignment ahead of iscsi_target_do_login() when handling
      the initial iscsi_target_start_negotiation() request PDU
      during connection login.
      
      As iscsi_target_do_login_rx() work_struct callback is
      clearing LOGIN_FLAGS_READ_ACTIVE after subsequent calls
      to iscsi_target_do_login(), the early sk_data_ready
      ahead of the first iscsi_target_do_login() expects
      LOGIN_FLAGS_READY to also be set for the initial
      login request PDU.
      
      As reported by Maged, this was first obsered using an
      MSFT initiator running across multiple VMWare host
      virtual machines with iscsi-target/tcp.
      Reported-by: 's avatarMaged Mokhtar <mmokhtar@binarykinetics.com>
      Tested-by: 's avatarMaged Mokhtar <mmokhtar@binarykinetics.com>
      Signed-off-by: 's avatarNicholas Bellinger <nab@linux-iscsi.org>
      8f0dfb3d
  7. 16 May, 2016 3 commits
    • Nicholas Bellinger's avatar
      cxgbit: Use type ISCSI_CXGBIT + cxgbit tpg_np attribute · ff7199b0
      Nicholas Bellinger authored
      Instead of having cxgbit use type ISCSI_HW_OFFLOAD + 'hw_offload'
      tpg_np attribute, it should be using it's own driver specific
      type + attribute
      
      Cc: Varun Prakash <varun@chelsio.com>
      Cc: Hariprasad Shenai <hariprasad@chelsio.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Sagi Grimberg <sagi@grimberg.me>
      Signed-off-by: 's avatarNicholas Bellinger <nab@linux-iscsi.org>
      ff7199b0
    • Nicholas Bellinger's avatar
      iscsi-target: Convert transport drivers to signal rdma_shutdown · bd027d85
      Nicholas Bellinger authored
      Instead of special casing the handful of callers that check for
      iser-target rdma verbs specific shutdown, use a simple flag at
      iscsit_transport->rdma_shutdown so each driver can signal this.
      
      Also, update iscsi-target/tcp + cxgbit to rdma_shutdown = false.
      
      Cc: Varun Prakash <varun@chelsio.com>
      Cc: Hariprasad Shenai <hariprasad@chelsio.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Sagi Grimberg <sagi@grimberg.me>
      Signed-off-by: 's avatarNicholas Bellinger <nab@linux-iscsi.org>
      bd027d85
    • Nicholas Bellinger's avatar
      iscsi-target: Make iscsi_tpg_np driver show/store use generic code · d4b3fa4b
      Nicholas Bellinger authored
      Go ahead and fold the duplicate iscsi_tpg_np driver attribute
      show/store functions into generic callers, invoked by current
      driver specific functions.
      
      This allows for future v4.8+ changes to have iscsi_target_mod
      use tpg_np driver attributes at runtime, instead of having
      the defaults hardcoded in iscsi_target_configfs.c.
      
      Also, drop the unused/legacy 'sctp' attribute for non standard
      RFC-3720 operation with IPPROTO_SCTP.
      
      Cc: Varun Prakash <varun@chelsio.com>
      Cc: Hariprasad Shenai <hariprasad@chelsio.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Sagi Grimberg <sagi@grimberg.me>
      Signed-off-by: 's avatarNicholas Bellinger <nab@linux-iscsi.org>
      d4b3fa4b
  8. 13 May, 2016 1 commit
  9. 10 May, 2016 20 commits