summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-12-12 07:41:08 +0000
committermav <mav@FreeBSD.org>2014-12-12 07:41:08 +0000
commitdff991dbdf61c9d5b0056b018e22f386dd4ff343 (patch)
tree523f35d333536999d5b0ea8be4bb166920497fa9 /sys/cam
parent76a5c6a0d73ca304b561c55e63a384d18a7ab4fb (diff)
downloadFreeBSD-src-dff991dbdf61c9d5b0056b018e22f386dd4ff343.zip
FreeBSD-src-dff991dbdf61c9d5b0056b018e22f386dd4ff343.tar.gz
MFC r274411: Improve CAM's reaction on asymmetric access errors.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_all.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index 4e0dcd3..d4a61f0 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -1106,13 +1106,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 */
OpenPOWER on IntegriCloud