Add support for multiple sessions per iface to iscsid
commit3a89146c42863b7e06c52d914fb7c612b203f4c0
authorJim Ramsay <jim_ramsay@dell.com>
Fri, 3 Jun 2011 15:19:59 +0000 (3 11:19 -0400)
committerMike Christie <michaelc@cs.wisc.edu>
Thu, 7 Jul 2011 21:39:13 +0000 (7 16:39 -0500)
treedff1f5c747334eb5d43db282c3596e91dbe3c303
parent2ec7d01db8193268ce5271d813875fb6684fced0
Add support for multiple sessions per iface to iscsid

This introduces a new 'multiple' flag to the session_rec_t, which if set
instructs iscsid to bypass the check which would normally prevent
multiple sessions from a single iface record, allowing multiple sessions
to be created.

The commandline syntax to actually set this flag will be introduced in a
later commit.

Signed-off-by: Jim Ramsay <jim_ramsay@dell.com>
usr/config.h
usr/idbm.c
usr/initiator.c
usr/iscsiadm.c
usr/session_mgmt.c