aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2013-06-06 01:44:48 -0700
committerNicholas Bellinger <[email protected]>2013-06-20 14:10:46 -0700
commit6c131d0c583cd5ceb2b497ae2dbeeae180d3573d (patch)
treeb286807455ba65c4da5b36b772cfda2ce23617df /tools/perf/scripts/python/syscall-counts.py
parentca24976ac815aeb17bf1707a96231409c57afac2 (diff)
vhost/scsi: Drop unnecessary wait_for_tasks=true usage with transport_generic_free_cmd
This patch changes vhost_scsi_free_cmd() to call transport_generic_free_cmd() with wait_for_tasks=false in order to avoid the extra se_cmd->t_state_lock access for the wait_for_tasks=true case. This is unnecessary because vhost_scsi_free_cmd() is only ever called by vhost_scsi_complete_cmd_work() after TCM completion handoff, and by vhost_scsi_handle_vq() exception code before TCM submission handoff, so there is never a case where se_cmd is still active from TCM's perspective when transport_generic_free_cmd() is called. 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