aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2013-06-06 01:36:41 -0700
committerNicholas Bellinger <[email protected]>2013-06-20 14:10:41 -0700
commit0b66818ac6de67a6125ae203272fb76e79b3a20f (patch)
treed0bbb25b6b486c9152b9b37d26b7221f5ca64d2c /tools/perf/scripts/python/syscall-counts-by-pid.py
parent862e6389a78992d4ee44bf4f60051fe560470320 (diff)
target: Drop unnecessary CMD_T_DEV_ACTIVE check from transport_lun_remove_cmd
This patch drops an unnecessary acquire/release of se_cmd->t_state_lock within transport_lun_remove_cmd() when checking CMD_T_DEV_ACTIVE for invoking target_remove_from_state_list(). For all fast path completion cases, transport_lun_remove_cmd() is always called ahead of transport_cmd_check_stop(), and since transport_cmd_check_stop() is calling target_remove_from_state_list() when remove_from_lists=true, the t_state_lock usage in transport_lun_remove_cmd() can safely be removed. Cc: Christoph Hellwig <[email protected]> Cc: Roland Dreier <[email protected]> Cc: Kent Overstreet <[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-by-pid.py')
0 files changed, 0 insertions, 0 deletions