|
@@ -307,6 +307,19 @@ static int scsi_check_sense(struct scsi_cmnd *scmd)
|
|
|
(sshdr.asc == 0x04) && (sshdr.ascq == 0x02))
|
|
|
return FAILED;
|
|
|
|
|
|
+ if (sshdr.asc == 0x3f && sshdr.ascq == 0x0e)
|
|
|
+ scmd_printk(KERN_WARNING, scmd,
|
|
|
+ "Warning! Received an indication that the "
|
|
|
+ "LUN assignments on this target have "
|
|
|
+ "changed. The Linux SCSI layer does not "
|
|
|
+ "automatically remap LUN assignments.\n");
|
|
|
+ else if (sshdr.asc == 0x3f)
|
|
|
+ scmd_printk(KERN_WARNING, scmd,
|
|
|
+ "Warning! Received an indication that the "
|
|
|
+ "operating parameters on this target have "
|
|
|
+ "changed. The Linux SCSI layer does not "
|
|
|
+ "automatically adjust these parameters.\n");
|
|
|
+
|
|
|
if (blk_barrier_rq(scmd->request))
|
|
|
/*
|
|
|
* barrier requests should always retry on UA
|