diff options
author | Nicholas Bellinger | 2013-11-13 14:39:14 -0800 |
---|---|---|
committer | Nicholas Bellinger | 2013-11-13 14:53:28 -0800 |
commit | 29f4c090079f442ea2723d292e4e64f0b6ac1f27 (patch) | |
tree | 17fb316f76bf3b47ae2a66513d7182564dd149e1 /drivers/target/iscsi/iscsi_target_tmr.h | |
parent | 122f8afcfb3fa77d05e934182242933ac60746cb (diff) |
target: Fix delayed Task Aborted Status (TAS) handling bug
This patch fixes a bug in delayed Task Aborted Status (TAS) handling,
where transport_send_task_abort() was not returning for the case
when the se_tfo->write_pending() callback indicated that last fabric
specific WRITE PDU had not yet been received.
It also adds an explicit cmd->scsi_status = SAM_STAT_TASK_ABORTED
assignment within transport_check_aborted_status() to avoid the case
where se_tfo->queue_status() is called when the SAM_STAT_TASK_ABORTED
assignment + ->queue_status() in transport_send_task_abort() does not
occur once SCF_SENT_DELAYED_TAS has been set.
Cc: <stable@vger.kernel.org> #3.2+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_tmr.h')
0 files changed, 0 insertions, 0 deletions