aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/scsi_error.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index a5d630f5f51..c60cffbefa3 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -307,6 +307,19 @@ static int scsi_check_sense(struct scsi_cmnd *scmd)
307 (sshdr.asc == 0x04) && (sshdr.ascq == 0x02)) 307 (sshdr.asc == 0x04) && (sshdr.ascq == 0x02))
308 return FAILED; 308 return FAILED;
309 309
310 if (sshdr.asc == 0x3f && sshdr.ascq == 0x0e)
311 scmd_printk(KERN_WARNING, scmd,
312 "Warning! Received an indication that the "
313 "LUN assignments on this target have "
314 "changed. The Linux SCSI layer does not "
315 "automatically remap LUN assignments.\n");
316 else if (sshdr.asc == 0x3f)
317 scmd_printk(KERN_WARNING, scmd,
318 "Warning! Received an indication that the "
319 "operating parameters on this target have "
320 "changed. The Linux SCSI layer does not "
321 "automatically adjust these parameters.\n");
322
310 if (blk_barrier_rq(scmd->request)) 323 if (blk_barrier_rq(scmd->request))
311 /* 324 /*
312 * barrier requests should always retry on UA 325 * barrier requests should always retry on UA