[PATCH 0/5] iscsi/iser-target fixes+cleanups for v3.11-rc1 (v2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi folks,

This is an updated iscsi/iser-target bugfix + cleanup series headed
for v3.11-rc1 code.

The first patch includes the changes necessary to post ISCSI_OP_REJECT
payloads using iser-target, and second patch avoids iscsi_cmd->reject_comp
usage that was causing a free-after-use bug in iser-target as well, along
with a conversion of legacy iscsit_add_reject* parameter usage throughout
iscsi-target code.

The third patch interalizes all iscsi_sequence_cmd() level rejects, as to
avoid per-transport uses of iscsit_reject_cmd(), and the forth patch fixes
a seperate ISCSI_OP_SCSI_TMFUNC handling bug reported recently that was
triggering an OOPs during iscsit_close_connection() cleanup.

The fifth patch allows RDMA_CM_EVENT_DISCONNECTED events to invoke
rdma_disconnect() if rx/tx thread have not already gone into connection
shutdown.  This addresess a bug where the iser client initiates CM reset
before ISCSI_OP_LOGOUT occurs, and adds isert_conn->conn_mutex for
protecting isert_conn->state checks between the two process contexts.

I'll be CC'ing this series to 3.10.y, so please review.

--nab

Nicholas Bellinger (5):
  iser-target: Fix isert_put_reject payload buffer post
  iscsi-target: Fix iscsit_add_reject* usage for iser
  iscsi-target: Fix iscsit_sequence_cmd reject handling for iser
  iscsi-target: Fix ISCSI_OP_SCSI_TMFUNC handling for iser
  iser-target: Fix session reset bug with RDMA_CM_EVENT_DISCONNECTED

 drivers/infiniband/ulp/isert/ib_isert.c  |  114 +++++++++---
 drivers/infiniband/ulp/isert/ib_isert.h  |    1 +
 drivers/target/iscsi/iscsi_target.c      |  300 +++++++++++++-----------------
 drivers/target/iscsi/iscsi_target.h      |    2 +-
 drivers/target/iscsi/iscsi_target_core.h |    8 +-
 drivers/target/iscsi/iscsi_target_erl0.c |    7 +-
 drivers/target/iscsi/iscsi_target_erl1.c |   26 ++--
 drivers/target/iscsi/iscsi_target_util.c |   26 ++-
 drivers/target/iscsi/iscsi_target_util.h |    3 +-
 include/target/iscsi/iscsi_transport.h   |    5 +-
 10 files changed, 264 insertions(+), 228 deletions(-)

-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux