You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test case checking for getting same inquiry data from SCSI server is failing for iSCSI url path.
In case if I pass device directly with same setup test case is passing but when run test suite with iSCSI URL it is failing.
We are not recalculating datain size if we got residual data.
Attaching patch can you verify it also I have not tested its impact on other test cases.
diff --git a/lib/iscsi-command.c b/lib/iscsi-command.c
index 8b6859a..fc94983 100644
--- a/lib/iscsi-command.c
+++ b/lib/iscsi-command.c
@@ -405,6 +405,9 @@ iscsi_process_scsi_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu,
return -1;
}
task->residual = scsi_get_uint32(&in->hdr[44]);
test case checking for getting same inquiry data from SCSI server is failing for iSCSI url path.
In case if I pass device directly with same setup test case is passing but when run test suite with iSCSI URL it is failing.
We are not recalculating datain size if we got residual data.
Attaching patch can you verify it also I have not tested its impact on other test cases.
diff --git a/lib/iscsi-command.c b/lib/iscsi-command.c
index 8b6859a..fc94983 100644
--- a/lib/iscsi-command.c
+++ b/lib/iscsi-command.c
@@ -405,6 +405,9 @@ iscsi_process_scsi_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu,
return -1;
}
task->residual = scsi_get_uint32(&in->hdr[44]);
The text was updated successfully, but these errors were encountered: