summaryrefslogtreecommitdiff
path: root/usr/config.h
diff options
context:
space:
mode:
authorJim Ramsay <jim_ramsay@dell.com>2011-06-03 09:21:22 -0400
committerMike Christie <michaelc@cs.wisc.edu>2011-07-07 16:39:13 -0500
commit2ec7d01db8193268ce5271d813875fb6684fced0 (patch)
treed0edc0cb90fa985beaea6595e5f1270773a336c8 /usr/config.h
parent8bd27eaa1d6e2db35c16c46f9619db833a24b136 (diff)
downloadopen-iscsi-2ec7d01db8193268ce5271d813875fb6684fced0.tar.gz
Add specific session information to session_rec_t
This is populated by iscsiadm in 'session' mode when the '-r' options is given, and passed along in the session_rec_t. It limits the operation of exec_node_op to only the specific session specified by the user. This is a prerequisite for "multiple sessions per iface recond". Signed-off-by: Jim Ramsay <jim_ramsay@dell.com>
Diffstat (limited to 'usr/config.h')
-rw-r--r--usr/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/config.h b/usr/config.h
index 5cb4d56..dcc862d 100644
--- a/usr/config.h
+++ b/usr/config.h
@@ -193,6 +193,8 @@ typedef struct session_rec {
struct iscsi_session_timeout_config timeo;
struct iscsi_error_timeout_config err_timeo;
struct iscsi_session_operational_config iscsi;
+ struct session_info *info;
+ unsigned sid;
} session_rec_t;
#define ISCSI_TRANSPORT_NAME_MAXLEN 16