summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/socket.h
diff options
context:
space:
mode:
authorMichael Brown2017-03-27 14:32:29 +0200
committerMichael Brown2017-03-27 14:41:22 +0200
commit164378fee60d02c0287bbaa9d390510fc9eab1fd (patch)
treead84ba9c51aeca44cadd22c5953330e79a97a7ba /src/include/ipxe/socket.h
parent[block] Allow SAN retry count to be reconfigured (diff)
downloadipxe-164378fee60d02c0287bbaa9d390510fc9eab1fd.tar.gz
ipxe-164378fee60d02c0287bbaa9d390510fc9eab1fd.tar.xz
ipxe-164378fee60d02c0287bbaa9d390510fc9eab1fd.zip
[block] Add a small delay between attempts to reopen SAN targets
When all SAN targets are completely unreachable, there will be a natural delay between reopening attempts due to the network connection timeout on the unreachable targets. However, some SAN targets may accept connections instantly and report a temporary unavailability by e.g. failing the TEST UNIT READY command. If all targets are behaving this way then there will be no natural delay, and we will attempt to saturate the network with connection attempts. Fix by introducing a small delay between attempts. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/socket.h')
0 files changed, 0 insertions, 0 deletions