summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-02-09 09:10:46 +0000
committermav <mav@FreeBSD.org>2015-02-09 09:10:46 +0000
commit4bebe71c84f0bd0869c7bfaeca6c241e354baa56 (patch)
tree913dccf8648e8e1166f2d3a5c95aeb3853dd44e4 /sys/cam/cam.h
parente82104dd187ea82cb8d346ac947106b35ee4cd46 (diff)
downloadFreeBSD-src-4bebe71c84f0bd0869c7bfaeca6c241e354baa56.zip
FreeBSD-src-4bebe71c84f0bd0869c7bfaeca6c241e354baa56.tar.gz
MFC r278111: 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.
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 20fd3cc..c226e3e 100644
--- a/sys/cam/cam.h
+++ b/sys/cam/cam.h
@@ -125,7 +125,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 */
OpenPOWER on IntegriCloud