Repository navigation
Commit 2db811c
target: Fix delayed Task Aborted Status (TAS) handling bug
commit 29f4c09 upstream.
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.
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent ba10405 commit 2db811c
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2910 | 2910 | | |
2911 | 2911 | | |
2912 | 2912 | | |
| 2913 | + | |
2913 | 2914 | | |
2914 | 2915 | | |
2915 | 2916 | | |
| |||
2938 | 2939 | | |
2939 | 2940 | | |
2940 | 2941 | | |
| 2942 | + | |
2941 | 2943 | | |
2942 | 2944 | | |
2943 | 2945 | | |
| |||
0 commit comments