diff options
author | Michael Brown | 2009-08-10 03:20:21 +0200 |
---|---|---|
committer | Michael Brown | 2009-08-10 23:30:56 +0200 |
commit | 965a0f7a75ef0011062413a6fa62ab6404e0b1ea (patch) | |
tree | 75e1d2a262b40b9a78a49bec495d42c7bcc5bd28 /src/include/gpxe/srp.h | |
parent | [infiniband] Generate more specific errors in response to failure MADs (diff) | |
download | ipxe-965a0f7a75ef0011062413a6fa62ab6404e0b1ea.tar.gz ipxe-965a0f7a75ef0011062413a6fa62ab6404e0b1ea.tar.xz ipxe-965a0f7a75ef0011062413a6fa62ab6404e0b1ea.zip |
[infiniband] Allow SRP reconnection attempts even after reporting failures
With iSCSI, connection attempts are expensive; it may take many
seconds to determine that a connection will fail. SRP connection
attempts are much less expensive, so we may as well avoid the
"optimisation" of declaring a state of permanent failure after a
certain number of attempts. This allows a gPXE SRP initiator to
resume operations after an arbitrary amount of SRP target downtime.
Diffstat (limited to 'src/include/gpxe/srp.h')
-rw-r--r-- | src/include/gpxe/srp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/include/gpxe/srp.h b/src/include/gpxe/srp.h index 75ec7b83..85f39b93 100644 --- a/src/include/gpxe/srp.h +++ b/src/include/gpxe/srp.h @@ -828,12 +828,6 @@ struct srp_device { unsigned int state; /** Retry counter */ unsigned int retry_count; - /** Instant return status code - * - * Used to avoid retrying the connection on every new SCSI - * command after the retry count has been exceeded. - */ - int instant_rc; /** Current SCSI command */ struct scsi_command *command; |