aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/handler.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2013-10-03 20:37:21 +0000
committerNicholas Bellinger <[email protected]>2013-10-03 21:22:44 +0000
commite255a28598e8e63070322fc89bd34189dd660a89 (patch)
tree07565d81e79ee2065f97e75593c4e7185a490a88 /net/tipc/handler.c
parenttarget: Fail on non zero scsi_status in compare_and_write_callback (diff)
downloadkernel-e255a28598e8e63070322fc89bd34189dd660a89.tar.gz
kernel-e255a28598e8e63070322fc89bd34189dd660a89.zip
iscsi-target: Only perform wait_for_tasks when performing shutdown
This patch changes transport_generic_free_cmd() to only wait_for_tasks when shutdown=true is passed to iscsit_free_cmd(). With the advent of >= v3.10 iscsi-target code using se_cmd->cmd_kref, the extra wait_for_tasks with shutdown=false is unnecessary, and may end up causing an extra context switch when releasing WRITEs. Cc: [email protected] # 3.10+ Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/tipc/handler.c')
0 files changed, 0 insertions, 0 deletions