aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/scsi/scsi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 648d23358038..ead8dd054480 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -434,6 +434,10 @@ static inline int scsi_is_wlun(unsigned int lun)
434 * recover the link. Transport class will 434 * recover the link. Transport class will
435 * retry or fail IO */ 435 * retry or fail IO */
436#define DID_TRANSPORT_FAILFAST 0x0f /* Transport class fastfailed the io */ 436#define DID_TRANSPORT_FAILFAST 0x0f /* Transport class fastfailed the io */
437#define DID_TARGET_FAILURE 0x10 /* Permanent target failure, do not retry on
438 * other paths */
439#define DID_NEXUS_FAILURE 0x11 /* Permanent nexus failure, retry on other
440 * paths might yield different results */
437#define DRIVER_OK 0x00 /* Driver status */ 441#define DRIVER_OK 0x00 /* Driver status */
438 442
439/* 443/*
@@ -463,6 +467,7 @@ static inline int scsi_is_wlun(unsigned int lun)
463#define TIMEOUT_ERROR 0x2007 467#define TIMEOUT_ERROR 0x2007
464#define SCSI_RETURN_NOT_HANDLED 0x2008 468#define SCSI_RETURN_NOT_HANDLED 0x2008
465#define FAST_IO_FAIL 0x2009 469#define FAST_IO_FAIL 0x2009
470#define TARGET_ERROR 0x200A
466 471
467/* 472/*
468 * Midlevel queue return values. 473 * Midlevel queue return values.