diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-08-14 10:16:29 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2007-08-14 10:16:29 -0500 |
commit | fc22ce08386d704f787ad132d644101c4ffa41a7 (patch) | |
tree | 97be77d08a3bc66dfa3d6b325f71137fc3eccd39 /include | |
parent | 7dea0c67d0df331a2a2e272235d8f5b30d220edc (diff) | |
download | open-iscsi-fc22ce08386d704f787ad132d644101c4ffa41a7.tar.gz |
add device reset support and fix some scsi eh bugs.
This patch adds logical unit reset support. It also fixes a bug
where when the session lock is dropped so we can grab
the recv lock, the iscsi eh thread could grab completely clean
up the session. The recv lock would then be a null ptr.
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 8458425..803e8d9 100644 --- a/include/iscsi_if.h +++ b/include/iscsi_if.h @@ -236,6 +236,7 @@ enum iscsi_param { ISCSI_PARAM_PASSWORD, ISCSI_PARAM_PASSWORD_IN, + ISCSI_PARAM_FAST_ABORT, /* must always be last */ ISCSI_PARAM_MAX, }; @@ -266,6 +267,7 @@ enum iscsi_param { #define ISCSI_USERNAME_IN (1 << ISCSI_PARAM_USERNAME_IN) #define ISCSI_PASSWORD (1 << ISCSI_PARAM_PASSWORD) #define ISCSI_PASSWORD_IN (1 << ISCSI_PARAM_PASSWORD_IN) +#define ISCSI_FAST_ABORT (1 << ISCSI_PARAM_FAST_ABORT) /* iSCSI HBA params */ enum iscsi_host_param { |