summaryrefslogtreecommitdiff
path: root/usr/be2iscsi.h
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2018-10-09 11:10:42 -0700
committerLee Duncan <lduncan@suse.com>2018-10-09 11:10:42 -0700
commit467946a945cc0f2432274a66e916959d5a5c3772 (patch)
treed57a77ac4c6dd259adc0f76275916451c2445f71 /usr/be2iscsi.h
parent7d08897792353057a98f0f80e4ee29af9cc860f0 (diff)
downloadopen-iscsi-467946a945cc0f2432274a66e916959d5a5c3772.tar.gz
When reopen_max=0 retry reopening forever.
Commit b9afe4709900 added a configuration variable for session reconnect called reopen_max that defaults to 32. This changes the behavior of iscsid on startup if it finds any session information left over from previous invocations. Adding the option of setting the retry count to zero to imply previous behavior allows those that are counting on this behavior to continue. But, make no mistake, it is recommended not to retry forever, as it leaves iscsid stuck in "iscsi_sysfs_for_each_session()" in iscsid.c:main(), so iscsid never fully gets up and running.
Diffstat (limited to 'usr/be2iscsi.h')
0 files changed, 0 insertions, 0 deletions