RECONNECT add option to limit the number of reconnect retries

In specific situation it might be useful to give up if a reconnect
is not successful or after a given number reconnect retries.
This patch adds the ability to change that. The default remains
the same: retry forever.

Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
Peter Lieven
2012-12-04 13:38:50 +01:00
parent 042a1deb07
commit ee83c7ce75
6 changed files with 61 additions and 29 deletions

View File

@@ -57,6 +57,7 @@ iscsi_report_supported_opcodes_sync
iscsi_report_supported_opcodes_task
iscsi_reconnect
iscsi_set_noautoreconnect
iscsi_set_reconnect_max_retries
iscsi_reportluns_sync
iscsi_reportluns_task
iscsi_scsi_cancel_all_tasks