Gitweb: http://git.kernel.org/linus/b75424fcfe8fae56344a65e3f04bbc7e975e750e
Commit: b75424fcfe8fae56344a65e3f04bbc7e975e750e
Parent: 4d086f6baf73c02d12482c27c9f1e0682825ca13
Author: Wayne Boyer <wayneb@linux.vnet.ibm.com>
AuthorDate: Wed Jan 28 08:24:50 2009 -0800
Committer: James Bottomley <James.Bottomley@HansenPartnership.com>
CommitDate: Thu Mar 12 12:58:11 2009 -0500
[SCSI] ipr: add message to error table
Adds a message to the error table for an error that wasn't previously handled.
In some cases the I/O Adapter will detect an error condition and mark a block
as "logically bad".
Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---
drivers/scsi/ipr.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 3f47cd1..9d54c20 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -354,6 +354,8 @@ struct ipr_error_table_t ipr_error_table[] = {
"9076: Configuration error, missing remote IOA"},
{0x06679100, 0, IPR_DEFAULT_LOG_LEVEL,
"4050: Enclosure does not support a required multipath function"},
+ {0x06690000, 0, IPR_DEFAULT_LOG_LEVEL,
+ "4070: Logically bad block written on device"},
{0x06690200, 0, IPR_DEFAULT_LOG_LEVEL,
"9041: Array protection temporarily suspended"},
{0x06698200, 0, IPR_DEFAULT_LOG_LEVEL,
--