Skip to content
Commit 6dbe7f4e authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

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: default avatarVasu Dev <vasu.dev@linux.intel.com>
Reviewed-by: default avatarVasu Dev <vasu.dev@linux.intel.com>
Cc: Jun Wu <jwu@stormojo.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent b3e5fe16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment