diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-09-25 18:21:36 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2008-09-25 18:51:22 -0500 |
commit | 6fda987b54d25d2e0f5aeb3334f8d5a7db33da5e (patch) | |
tree | f27012c0941600ce942f6f1e9551795e47f7a63c /include | |
parent | f93de11368dc7f62cab9e299150271f0b6b3d5ed (diff) | |
download | open-iscsi-6fda987b54d25d2e0f5aeb3334f8d5a7db33da5e.tar.gz |
iscsi_tcp: return a descriptive error value during connection errors
The segment->done functions return a iscsi error value which gives
a lot more info than conn failed, so this patch has us return
that value. I also add a new one for xmit failures.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
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 4f6df41..afa86e8 100644 --- a/include/iscsi_if.h +++ b/include/iscsi_if.h @@ -214,6 +214,7 @@ enum iscsi_err { 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, + ISCSI_ERR_XMIT_FAILED = ISCSI_ERR_BASE + 19, }; /* |