svn commit: r275723 - stable/9/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Fri Dec 12 07:42:07 UTC 2014


Author: mav
Date: Fri Dec 12 07:42:06 2014
New Revision: 275723
URL: https://svnweb.freebsd.org/changeset/base/275723

Log:
  MFC r274411: Improve CAM's reaction on asymmetric access errors.

Modified:
  stable/9/sys/cam/scsi/scsi_all.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/cam/scsi/scsi_all.c
==============================================================================
--- stable/9/sys/cam/scsi/scsi_all.c	Fri Dec 12 07:41:08 2014	(r275722)
+++ stable/9/sys/cam/scsi/scsi_all.c	Fri Dec 12 07:42:06 2014	(r275723)
@@ -1103,13 +1103,13 @@ static struct asc_table_entry asc_table[
 	{ SST(0x04, 0x09, SS_RDEF,	/* XXX TBD */
 	    "Logical unit not ready, self-test in progress") },
 	/* DTLPWROMAEBKVF */
-	{ SST(0x04, 0x0A, SS_RDEF,	/* XXX TBD */
+	{ SST(0x04, 0x0A, SS_TUR | SSQ_MANY | SSQ_DECREMENT_COUNT | ENXIO,
 	    "Logical unit not accessible, asymmetric access state transition")},
 	/* DTLPWROMAEBKVF */
-	{ SST(0x04, 0x0B, SS_RDEF,	/* XXX TBD */
+	{ SST(0x04, 0x0B, SS_FATAL | ENXIO,
 	    "Logical unit not accessible, target port in standby state") },
 	/* DTLPWROMAEBKVF */
-	{ SST(0x04, 0x0C, SS_RDEF,	/* XXX TBD */
+	{ SST(0x04, 0x0C, SS_FATAL | ENXIO,
 	    "Logical unit not accessible, target port in unavailable state") },
 	/*              F */
 	{ SST(0x04, 0x0D, SS_RDEF,	/* XXX TBD */


More information about the svn-src-stable-9 mailing list