summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_spc.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-06-05 16:37:38 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2014-06-06 14:20:51 -0700
commit6dbe7f4e97d55eefcb471c41c16b62fca5f10c68 (patch)
tree83fa6f479e1fed96f44d99dfd1b54f66a4642e1b /drivers/target/target_core_spc.c
parentb3e5fe1688b998ba5287a68667ef7cc568739e44 (diff)
downloadlinux-6dbe7f4e97d55eefcb471c41c16b62fca5f10c68.tar.gz
linux-6dbe7f4e97d55eefcb471c41c16b62fca5f10c68.tar.bz2
linux-6dbe7f4e97d55eefcb471c41c16b62fca5f10c68.zip
tcm_fc: Generate TASK_SET_FULL status for response failures
This patch changes ft_queue_status() to set SAM_STAT_TASK_SET_FULL status upon lport->tt.seq_send( failure, and return -EAGAIN to notify target-core to attempt to requeue the response. It also does the same for a fc_frame_alloc() failures, 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. Reported-by: Vasu Dev <vasu.dev@linux.intel.com> Reviewed-by: Vasu Dev <vasu.dev@linux.intel.com> Cc: Jun Wu <jwu@stormojo.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_spc.c')
0 files changed, 0 insertions, 0 deletions