From 6b13206fbcdb4ffbce7836b836f8593608f478fd Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Tue, 28 Jun 2011 13:05:25 -0400 Subject: 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 --- etc/iscsid.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc') 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 -- cgit v1.2.1