diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-08-20 15:11:02 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-05 09:42:47 -0500 |
commit | d1af8a328755f51c9b76157a8692e56520d3fd94 (patch) | |
tree | 36abdfc44e548134d3a51feff45e3c85591d76d8 /include/scsi/iscsi_if.h | |
parent | 632248aab3170004e24512a4378fc6d9d7f3b4ac (diff) | |
download | blackbird-op-linux-d1af8a328755f51c9b76157a8692e56520d3fd94.tar.gz blackbird-op-linux-d1af8a328755f51c9b76157a8692e56520d3fd94.zip |
[SCSI] iscsi_tcp: add new conn error to indicate tcp conn closed
If a target closed the connection, we will detect it in the
state_changed or data_ready callout. This adds a new conn
error value to use for this problem, so it is not confused
with when the initiator throws a conn error and drops
the connection.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/iscsi_if.h')
-rw-r--r-- | include/scsi/iscsi_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h index 4426f00da5ff..d67dda2b6aa0 100644 --- a/include/scsi/iscsi_if.h +++ b/include/scsi/iscsi_if.h @@ -262,6 +262,7 @@ enum iscsi_err { ISCSI_ERR_NO_SCSI_CMD = ISCSI_ERR_BASE + 17, ISCSI_ERR_INVALID_HOST = ISCSI_ERR_BASE + 18, ISCSI_ERR_XMIT_FAILED = ISCSI_ERR_BASE + 19, + ISCSI_ERR_TCP_CONN_CLOSE = ISCSI_ERR_BASE + 20, }; /* |