diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-03-03 09:34:14 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-03-03 09:34:14 +0000 |
commit | 0bb26950da661878e582f3cdbb076bda59fcb895 (patch) | |
tree | bed653ab0662c3a87682cbfe4bf9c5836a2cfe53 /include | |
parent | 2b0cc0678a5e0efa6b6f18828ba39058930f391f (diff) | |
download | open-iscsi-0bb26950da661878e582f3cdbb076bda59fcb895.tar.gz |
add basic iscsi block functionality. The open-iscsi replacement_timeout is the block timeout. when that expires we will fail commands upwards but keep the session struct so we can just reonline the devs when the connection is back. TODO: move more state code from iscsi_tcp to the class so the block code can do more
git-svn-id: svn://svn.berlios.de/open-iscsi@507 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_if.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iscsi_if.h b/include/iscsi_if.h index 776f8e4..6819c2e 100644 --- a/include/iscsi_if.h +++ b/include/iscsi_if.h @@ -174,6 +174,7 @@ enum iscsi_param { ISCSI_PARAM_TPGT, ISCSI_PARAM_PERSISTENT_ADDRESS, ISCSI_PARAM_PERSISTENT_PORT, + ISCSI_PARAM_SESS_RECOVERY_TMO, /* pased in through bind conn using transport_fd */ ISCSI_PARAM_CONN_PORT, @@ -201,6 +202,7 @@ enum iscsi_param { #define ISCSI_TPGT (1 << ISCSI_PARAM_TPGT) #define ISCSI_PERSISTENT_ADDRESS (1 << ISCSI_PARAM_PERSISTENT_ADDRESS) #define ISCSI_PERSISTENT_PORT (1 << ISCSI_PARAM_PERSISTENT_PORT) +#define ISCSI_SESS_RECOVERY_TMO (1 << ISCSI_PARAM_SESS_RECOVERY_TMO) #define ISCSI_CONN_PORT (1 << ISCSI_PARAM_CONN_PORT) #define ISCSI_CONN_ADDRESS (1 << ISCSI_PARAM_CONN_ADDRESS) |