diff options
author | Nicholas Bellinger <[email protected]> | 2013-06-06 02:20:41 -0700 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2013-06-20 14:10:47 -0700 |
commit | 084ed45b3846ffb803a6cd6d631c1723e77689e0 (patch) | |
tree | fac8ae85cc4aff3a7fe01200e188757c00c8f404 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6c131d0c583cd5ceb2b497ae2dbeeae180d3573d (diff) |
vhost/scsi: Convert to se_cmd->cmd_kref TARGET_SCF_ACK_KREF usage
This patch coverts vhost/scsi to se_cmd->cmd_kref TARGET_SCF_ACK_KREF
usage, instead of assuming that vhost_scsi_free_cmd() is always called
before TCM processing is completed in the response fast path.
This includes adding vhost_scsi_check_stop_free() -> target_put_sess_cmd()
to perform the second se_cmd->cmd_kref put, and moving vhost_scsi_free_cmd()
resource release into tcm_vhost_release_cmd() that is invoked once the last
se_cmd->cmd_kref put occurs.
Cc: Christoph Hellwig <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Asias He <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Cc: Or Gerlitz <[email protected]>
Cc: Moussa Ba <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions