Add support for synchronous command timeout.

Default to 0 meaning no timeout.

Implement a test for iSCS to test what happens if we send a command
with CMDSN being higher than the target allows.
In this case we dont strictly know what will happen, just that what should
NOT happen is the target responding with success.
But we have to be prepared for any kind of failure, including a timeout,
scsi sense, or even iscsi reject or session failure.
This commit is contained in:
Ronnie Sahlberg
2013-04-29 20:42:33 -07:00
parent 5bce69f1f3
commit 4a8d967541
13 changed files with 324 additions and 169 deletions
+1
View File
@@ -63,6 +63,7 @@ iscsi_report_supported_opcodes_task
iscsi_reconnect
iscsi_set_noautoreconnect
iscsi_set_reconnect_max_retries
iscsi_set_timeout
iscsi_reportluns_sync
iscsi_reportluns_task
iscsi_scsi_cancel_all_tasks