diff options
author | Lee Duncan <lduncan@suse.com> | 2018-10-09 11:10:42 -0700 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2018-10-09 11:10:42 -0700 |
commit | 467946a945cc0f2432274a66e916959d5a5c3772 (patch) | |
tree | d57a77ac4c6dd259adc0f76275916451c2445f71 /usr/session_mgmt.h | |
parent | 7d08897792353057a98f0f80e4ee29af9cc860f0 (diff) | |
download | open-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/session_mgmt.h')
0 files changed, 0 insertions, 0 deletions