Re: [PATCH 1/2] tcm_fc: Generate TASK_SET_FULL status for DataIN failures

2014-06-09 Thread Vasu Dev
On Fri, 2014-06-06 at 14:02 -0700, Nicholas A. Bellinger wrote: The break aborts the DataIN send loop and invokes ft_queue_status() below in an attempt to send TASK_SET_FULL status. If the ft_queue_status() - lport-tt.seq_send() also fails, then -ENOMEM will be returned to the target and a

Re: [PATCH 1/2] tcm_fc: Generate TASK_SET_FULL status for DataIN failures

2014-06-06 Thread Vasu Dev
On Thu, 2014-06-05 at 23:30 +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org 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

Re: [PATCH 1/2] tcm_fc: Generate TASK_SET_FULL status for DataIN failures

2014-06-06 Thread Nicholas A. Bellinger
On Fri, 2014-06-06 at 13:51 -0700, Vasu Dev wrote: On Thu, 2014-06-05 at 23:30 +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org 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

[PATCH 1/2] tcm_fc: Generate TASK_SET_FULL status for DataIN failures

2014-06-05 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org 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