[PATCH 0/2] target/tcm_qla2xxx: Use se_cmd->cmd_kref for release path

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

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

This series makes target_put_sess_cmd() use se_cmd->cmd_kref for
handling response + acknowledgment release of fabric->se_cmd memory
with fabric code using TFO->check_stop_free().  It also removes
se_tfo->check_release_cmd() usage in transport_release_cmd() code,
and allows tcm_qla2xxx to run without qla_hw_data->hardware_lock
access in the main fabric memory descriptor release path.

It still assumes seperate handling of se_tmr commands in
tcm_qla2xxx_check_stop_free(), but so far the changes are
functioning as expected using tcm_qla2xxx HW ports with
bulk I/O traffic.

--nab

Nicholas Bellinger (2):
  target: Make target_put_sess_cmd use target_release_cmd_kref
  tcm_qla2xxx: Drop legacy qla_tgt_cmd->cmd_stop_free_comp usage

 drivers/scsi/qla2xxx/qla_target.c                 |    1 -
 drivers/scsi/qla2xxx/qla_target.h                 |    3 -
 drivers/target/target_core_transport.c            |   43 ++++++++-----
 drivers/target/tcm_qla2xxx/tcm_qla2xxx_configfs.c |    1 -
 drivers/target/tcm_qla2xxx/tcm_qla2xxx_fabric.c   |   71 ++-------------------
 drivers/target/tcm_qla2xxx/tcm_qla2xxx_fabric.h   |    1 -
 include/target/target_core_base.h                 |    1 +
 7 files changed, 33 insertions(+), 88 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