diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2010-12-31 11:22:18 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-31 18:51:54 +0300 |
commit | df4da5cdfca05b37b366b9c69925b68586969c1c (patch) | |
tree | fd5b1c7a6de1c32092e5f4635462ffbe71c029f5 /include/scsi/iscsi_if.h | |
parent | 5c10007560589a2335a77cbc92347b1474518296 (diff) | |
download | linux-df4da5cdfca05b37b366b9c69925b68586969c1c.tar.xz |
[SCSI] libiscsi: add more informative failure message during iscsi scsi eh
This adds a more informative error code and message
for the iscsi scsi eh session drop paths. This allows
you to distinguish if the session was dropped due to
a connection failure vs the iscsi layer dropping
the session due to scsi eh failure processing.
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 a8631acd37c3..c3e1cbcc2ad2 100644 --- a/include/scsi/iscsi_if.h +++ b/include/scsi/iscsi_if.h @@ -263,6 +263,7 @@ enum iscsi_err { 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, + ISCSI_ERR_SCSI_EH_SESSION_RST = ISCSI_ERR_BASE + 21, }; /* |