diff options
author | Jim Ramsay <jim_ramsay@dell.com> | 2011-06-28 13:05:25 -0400 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2011-07-07 16:39:14 -0500 |
commit | 6b13206fbcdb4ffbce7836b836f8593608f478fd (patch) | |
tree | b4c7ec363ab30f0ff98020aa87c501dd1aeca990 /etc | |
parent | 0bf1fab1c040b506e3cb49f7ada8302d5006e79e (diff) | |
download | open-iscsi-6b13206fbcdb4ffbce7836b836f8593608f478fd.tar.gz |
Add new node.session.nr_sessions config parameter
If a record has this set to anything other than the default value of 1,
performing a login with this record will ensure that at least that
number of sessions are present for that recordr: The code counts the
number of sessions currently active for this record, and will perform
multiple logins if the count is less than nr_sessions.
Signed-off-by: Jim Ramsay <jim_ramsay@dell.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iscsid.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf index e8087c8..4e8c08d 100644 --- a/etc/iscsid.conf +++ b/etc/iscsid.conf @@ -278,6 +278,11 @@ discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768 # The default is to never use DataDigests or HeaderDigests. # +# For multipath configurations, you may want more than one session to be +# created on each iface record. If node.session.nr_sessions is greater +# than 1, performing a 'login' for that node will ensure that the +# appropriate number of sessions is created. +node.session.nr_sessions = 1 #************ # Workarounds |