From: Nicholas Bellinger Date: Thu, 5 Jun 2014 23:37:38 +0000 (-0700) Subject: tcm_fc: Generate TASK_SET_FULL status for response failures X-Git-Tag: omap-for-v3.16/fixes-against-rc1~26^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dbe7f4e97d55eefcb471c41c16b62fca5f10c68;p=pandora-kernel.git 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 Reviewed-by: Vasu Dev Cc: Jun Wu Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed