[PATCH 0/7] target: More 3.3 target_submit_cmd converts & cleanups

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

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi folks,

This series adds a TARGET_SCF_ACK_KREF flag to target_submit_cmd() to
signal double se_cmd->cmd_kref usage for qla2xxx, and converts tcm_fc
(single reference) and ib_srpt (double reference) to use target_submit_cmd()
for main I/O path dispatch.

It also removes the internal usage of ioctx->kref from ib_srpt and
instead uses se_cmd->cmd_kref to determine when the final se_cmd
descriptor release should occur in the response path.

Thanks,

--nab

Nicholas Bellinger (7):
  qla2xxx: Make qla_tgt_handle_cmd_for_atio use single queue_work
  target: Add TARGET_SCF_ACK_KREF flag usage
  tcm_fc: Convert ft_send_work to use target_submit_cmd
  ib_srpt: Address channel release with failed SRP login
  ib_srpt: Remove internal ioctx->kref usage in response path
  ib_srpt: Convert srpt_handle_cmd to use target_submit_cmd
  target: Remove TFO->check_release_cmd() fabric API caller

 drivers/infiniband/ulp/srpt/ib_srpt.c           |  119 ++++++++--------------
 drivers/infiniband/ulp/srpt/ib_srpt.h           |    1 -
 drivers/scsi/qla2xxx/qla_target.c               |   49 +++++-----
 drivers/target/target_core_transport.c          |   20 +++-
 drivers/target/tcm_fc/tfc_cmd.c                 |   49 +++-------
 drivers/target/tcm_qla2xxx/tcm_qla2xxx_fabric.c |    4 +-
 include/target/target_core_base.h               |    1 +
 include/target/target_core_fabric_ops.h         |    4 -
 include/target/target_core_transport.h          |    2 +-
 9 files changed, 98 insertions(+), 151 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