• Nicholas Bellinger's avatar
    tcm_fc: Convert to TARGET_SCF_ACK_KREF I/O + TMR krefs · 91973cd6
    Nicholas Bellinger authored
    This patch converts tcm_fc to modern TARGET_SCF_ACK_KREF
    usage for ft_queue_status(), and fixes ft_check_stop_free()
    to return transport_generic_free_cmd() for ->cmd_kref.
    
    It also converts TM request -> ft_send_tm() to use ACK_KREF,
    and update ft_queue_tm_resp() to drop the outstanding kref
    after queueing TM response into fabric code.
    
    Cc: Vasu Dev <vasu.dev@linux.intel.com>
    Cc: Mark Rustad <mark.d.rustad@intel.com>
    Cc: Robert Love <robert.w.love@intel.com>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    91973cd6
tfc_cmd.c 14.5 KB