[SCSI] Log msg when getting Unit Attention
commit6e49949c5e9e04d64e16df3723dd3f5bd25a29e2
authorMike Christie <michaelc@cs.wisc.edu>
Sun, 25 Apr 2010 12:03:57 +0000 (25 07:03 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:03:51 +0000 (27 12:03 -0500)
tree730c4910ae19a1108b074264f487da967f7dd8cd
parent3e84beba608dee5a7c7711a3503eb2f335c78fca
[SCSI] Log msg when getting Unit Attention

If the user accidentally changes LUN mappings or it occurs
due to a bug, then it can cause data corruption that can take
months and months to track down. This patch adds a log
message when getting REPORT_LUNS_DATA_CHANGED and it adds
a generic message for other Unit Attentions with asc == 0x3f.

We are working on adding support for handling of these errors,
but I think until then we should at least log a message so
tracking down problems as a result of one of these changes
is a little easier.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi_error.c