diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2006-07-24 20:47:22 (GMT) |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-28 16:48:16 (GMT) |
commit | 7ea8b82847293c2311cf08fc3ed31ab0e452a27e (patch) | |
tree | eab8e9be7cc779cc3c9e48774fcb4b33ebb2c8df /include/scsi | |
parent | 275fd7d129fdd16d1dc0ec6a8d60bd6b72a76e31 (diff) | |
download | linux-fsl-qoriq-7ea8b82847293c2311cf08fc3ed31ab0e452a27e.tar.xz |
[SCSI] iscsi bugfixes: fix abort handling
Abort handler fixes.
If a connection is dropped and reconnected while an abort is
running then we should assume the recovery code will clean up
the abort. Not doing so causes a oops.
And if a command completes then we get the status for the abort, we do not
need to call into the LLD to cleanup the resources. Doing this causes
and oops in iser because it ends up freeing some resources twice.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libiscsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index e71d6e9..3f69f7e 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h @@ -60,6 +60,7 @@ struct iscsi_nopin; #define TMABORT_SUCCESS 0x1 #define TMABORT_FAILED 0x2 #define TMABORT_TIMEDOUT 0x3 +#define TMABORT_NOT_FOUND 0x4 /* Connection suspend "bit" */ #define ISCSI_SUSPEND_BIT 1 |