Add iscsi_tcp_set_user_timeout function

This patch adds a user configurable option to set the TCP_USER_TIMEOUT
socket option. With this timeout set a broken TCP session is shutdown
after a given timeout even there are unacked packets. SO_KEEPALIVE
seems not to work in this case.
This commit is contained in:
Peter Lieven
2012-10-18 11:55:15 +02:00
parent cb6f2ce252
commit f973608578
6 changed files with 59 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ iscsi_set_isid_reserved
iscsi_set_session_type
iscsi_set_targetname
iscsi_set_tcp_keepalive
iscsi_set_tcp_user_timeout
iscsi_startstopunit_sync
iscsi_startstopunit_task
iscsi_synchronizecache10_sync