diff options
author | mav <mav@FreeBSD.org> | 2015-09-29 05:23:26 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-09-29 05:23:26 +0000 |
commit | 004f6fe71e6fef0844b460c12bb478c4b774bec7 (patch) | |
tree | 0ed7c67137f68d13064ca5ea29b0af2bc26801de /sys/cam/scsi/scsi_all.h | |
parent | 2fecae512b47759b2f28477c7f3e39ae2c54ad00 (diff) | |
download | FreeBSD-src-004f6fe71e6fef0844b460c12bb478c4b774bec7.zip FreeBSD-src-004f6fe71e6fef0844b460c12bb478c4b774bec7.tar.gz |
MFC r287819: Make CAM log errors that make it wait.
Waiting can take minutes, and it would be good for user to know what is
going on.
Diffstat (limited to 'sys/cam/scsi/scsi_all.h')
-rw-r--r-- | sys/cam/scsi/scsi_all.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index 253e28e..375fcbe 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -103,6 +103,9 @@ typedef enum { /* The retyable, error action, with table specified error code */ #define SS_RET SS_RETRY|SSQ_DECREMENT_COUNT|SSQ_PRINT_SENSE +/* Wait for transient error status to change */ +#define SS_WAIT SS_TUR|SSQ_MANY|SSQ_DECREMENT_COUNT|SSQ_PRINT_SENSE + /* Fatal error action, with table specified error code */ #define SS_FATAL SS_FAIL|SSQ_PRINT_SENSE |