|
From: <vl...@us...> - 2015-10-02 02:30:15
|
Revision: 6526
http://sourceforge.net/p/scst/svn/6526
Author: vlnb
Date: 2015-10-02 02:30:13 +0000 (Fri, 02 Oct 2015)
Log Message:
-----------
Ignore DID_TARGET_FAILURE if status already set
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2015-10-01 21:28:39 UTC (rev 6525)
+++ trunk/scst/src/scst_targ.c 2015-10-02 02:30:13 UTC (rev 6526)
@@ -3547,6 +3547,8 @@
scst_set_cmd_error(cmd, SCST_LOAD_SENSE(scst_sense_write_error));
else
scst_set_cmd_error(cmd, SCST_LOAD_SENSE(scst_sense_read_error));
+ } else if ((cmd->host_status == DID_TARGET_FAILURE) && (cmd->status != 0)) {
+ /* It's OK, normal workflow, ignore */
} else {
TRACE(TRACE_SCSI|TRACE_MINOR_AND_MGMT_DBG, "Host "
"status 0x%x received, returning HARDWARE ERROR "
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|