aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2014-06-05 23:27:53 +0000
committerNicholas Bellinger <[email protected]>2014-06-06 21:20:23 +0000
commitb3e5fe1688b998ba5287a68667ef7cc568739e44 (patch)
tree5d7a9999d5cfc92ff4cd4ccc50d1ebea95f41334 /tools/perf/scripts/python/event_analyzing_sample.py
parentiscsi-target: Reject mutual authentication with reflected CHAP_C (diff)
downloadkernel-b3e5fe1688b998ba5287a68667ef7cc568739e44.tar.gz
kernel-b3e5fe1688b998ba5287a68667ef7cc568739e44.zip
tcm_fc: Generate TASK_SET_FULL status for DataIN failures
This patch changes ft_queue_data_in() to set SAM_STAT_TASK_SET_FULL status upon a lport->tt.seq_send() failure, where it will now stop sending subsequent DataIN, and immediately attempt to send the response with exception status. Sending a response with SAM_STAT_TASK_SET_FULL status is useful in order to signal the initiator that it should try to reduce it's current queue_depth, to lower the number of outstanding I/Os on the wire. Also, add a check to skip sending DataIN if TASK_SET_FULL status has already been set due to a response lport->tt.seq_send() failure, that has asked target-core to requeue a response. Reported-by: Vasu Dev <[email protected]> Reviewed-by: Vasu Dev <[email protected]> Cc: Jun Wu <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions