summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2020-04-02 14:37:58 -0700
committerLee Duncan <lduncan@suse.com>2020-08-15 12:54:23 -0700
commit46183ffd36c9c2a6a1e67383c639897c572acad1 (patch)
tree4722bba4e44d9b422b7e5b01101aadc9d43d3977 /doc
parent802688debcd88c48edabe86deb7e7ed47ebadc26 (diff)
downloadopen-iscsi-46183ffd36c9c2a6a1e67383c639897c572acad1.tar.gz
Add ability to attempt target logins asynchronously
Add a "no wait" flag to iscsiadm, for use when it is logging into all targets of a certain "type", i.e. using the "--loginaall=" option, which iscsiadm will pass to the login_by_startup() routine. The wait/no-wait code was already present there, so just hook into it. NOTE: this means that "iscsiadm -m node ... -L=all -W" will return success if it is able to send a login request for each node, whether or not the logins succeed. The man page and usage info was also updated to document this new flag.
Diffstat (limited to 'doc')
-rw-r--r--doc/iscsiadm.810
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
index bf23dd2..22263eb 100644
--- a/doc/iscsiadm.8
+++ b/doc/iscsiadm.8
@@ -51,6 +51,7 @@ iscsiadm \- open-iscsi administration utility
.IR printlevel ]
.RB [ \-L
.IR all,manual,automatic,onboot ]
+.RB [ \-W ]
.RB [ \-U
.IR all,manual,automatic,onboot ]
.RB [ \-S ]
@@ -292,7 +293,14 @@ in or all running session, except ones marked onboot, if all is passed in.
This option is only valid for node mode (it is valid but not functional
for session mode).
.TP
-\fB\-m, \-\-mode \fIop\fR
+\fB\-W\fR, \fB\-\-\-no_wait\fR
+In node mode, when logging in to one or more targets using the
+\fB\-\-loginall\fR option, do not wait for a response from the targets.
+This means that success will be returned if the command is able to
+send the login requests, whether or not they succeed. In this case, it will
+be up to the caller to poll for success (i.e. session creation).
+.TP
+\fB\-m\fR, \fB\-\-mode \fIop\fR
specify the mode. \fIop\fR
must be one of \fIdiscovery\fR, \fIdiscoverydb\fR, \fInode\fR, \fIfw\fR,
\fIhost\fR \fIiface\fR or \fIsession\fR.