diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-04-23 04:24:57 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2008-09-25 18:51:22 -0500 |
commit | f93de11368dc7f62cab9e299150271f0b6b3d5ed (patch) | |
tree | 33c5f55dd42926e6a4e096b782d6486b44c50c39 /include | |
parent | 5fc67b431d4971c1b254be59542b63a85941b77a (diff) | |
download | open-iscsi-f93de11368dc7f62cab9e299150271f0b6b3d5ed.tar.gz |
handle ISCSI_ERR_INVALID_HOST
If the kernel throws ISCSI_ERR_INVALID_HOST then the host is no
longer able to support iscsi. iscsid should then kill the session.
There is no need to logout or do the sync cache from the ubind
path, because at this point the transport is dead.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Mike Christie <mchristi@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iscsi_if.h b/include/iscsi_if.h index 8e399b6..4f6df41 100644 --- a/include/iscsi_if.h +++ b/include/iscsi_if.h @@ -213,6 +213,7 @@ enum iscsi_err { ISCSI_ERR_DATA_DGST = ISCSI_ERR_BASE + 15, ISCSI_ERR_PARAM_NOT_FOUND = ISCSI_ERR_BASE + 16, ISCSI_ERR_NO_SCSI_CMD = ISCSI_ERR_BASE + 17, + ISCSI_ERR_INVALID_HOST = ISCSI_ERR_BASE + 18, }; /* |