aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/cam.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-02-02 20:23:05 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-02-02 20:23:05 +0000
commit174b32ced4be75344530fcbd5d56bb49c5250401 (patch)
treecb599aee1bc052a2bca422a064b13c1fadfaf9c5 /sys/cam/cam.h
parentb73700f54765da5163dbf953a92a9cfb05a1ac39 (diff)
downloadsrc-174b32ced4be75344530fcbd5d56bb49c5250401.tar.gz
src-174b32ced4be75344530fcbd5d56bb49c5250401.zip
Retry indefinitely on SCSI BUSY status from VMware disks and CDs.
VMware returns BUSY status when storage has transient connectivity issues. It is often better to wait and let VM admin fix the problem then crash. Discussed with: ken MFC after: 1 week
Notes
Notes: svn path=/head/; revision=278111
Diffstat (limited to 'sys/cam/cam.h')
-rw-r--r--sys/cam/cam.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/cam.h b/sys/cam/cam.h
index 302504fb4fcd..e08524b908ac 100644
--- a/sys/cam/cam.h
+++ b/sys/cam/cam.h
@@ -121,7 +121,8 @@ enum {
SF_QUIET_IR = 0x04, /* Be quiet about Illegal Request reponses */
SF_PRINT_ALWAYS = 0x08, /* Always print error status. */
SF_NO_RECOVERY = 0x10, /* Don't do active error recovery. */
- SF_NO_RETRY = 0x20 /* Don't do any retries. */
+ SF_NO_RETRY = 0x20, /* Don't do any retries. */
+ SF_RETRY_BUSY = 0x40 /* Retry BUSY status. */
};
/* CAM Status field values */