summaryrefslogtreecommitdiffstats
path: root/include/scsi/iscsi_if.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-08-20 15:11:02 -0500
committerJames Bottomley <James.Bottomley@suse.de>2009-09-05 09:42:47 -0500
commitd1af8a328755f51c9b76157a8692e56520d3fd94 (patch)
tree36abdfc44e548134d3a51feff45e3c85591d76d8 /include/scsi/iscsi_if.h
parent632248aab3170004e24512a4378fc6d9d7f3b4ac (diff)
downloadlinux-d1af8a328755f51c9b76157a8692e56520d3fd94.tar.gz
linux-d1af8a328755f51c9b76157a8692e56520d3fd94.tar.bz2
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.h1
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,
};
/*