]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tcm_fc: Convert to TARGET_SCF_ACK_KREF I/O + TMR krefs
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 30 Jan 2016 06:08:54 +0000 (22:08 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Mar 2016 05:48:23 +0000 (21:48 -0800)
commit91973cd60e2db7536228ce2732ffea4e50d03ca9
tree0942363ef2dea335def38fa5bf3fa9f3f0c66752
parentfa22e7b7741b202ee8f0cb28461189418d9b52ea
tcm_fc: Convert to TARGET_SCF_ACK_KREF I/O + TMR krefs

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: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_cmd.c