diff options
author | Brian King <brking@us.ibm.com> | 2006-11-21 10:28:42 -0600 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-11-22 12:22:01 -0600 |
commit | ac719abab0fbe2b83dc99351f6605645aef814ab (patch) | |
tree | 6730c2b9c7985cb1a7ab9a3efaeb3d4f6302a96f /drivers/scsi/ipr.h | |
parent | 49dc6a18185c12bae4980d17512fbe54ca6bae54 (diff) | |
download | linux-stable-ac719abab0fbe2b83dc99351f6605645aef814ab.tar.gz linux-stable-ac719abab0fbe2b83dc99351f6605645aef814ab.tar.bz2 linux-stable-ac719abab0fbe2b83dc99351f6605645aef814ab.zip |
[SCSI] ipr: Reduce default error log size
Since the default error log size has increased on SAS adapters,
prevent ipr from logging this additional data unless requested
to do so by the user set log level in order to prevent flooding
the logs.
Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 44b15e4b6edf..397e502bd0f1 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h @@ -104,6 +104,7 @@ #define IPR_IOASC_IOA_WAS_RESET 0x10000001 #define IPR_IOASC_PCI_ACCESS_ERROR 0x10000002 +#define IPR_DEFAULT_MAX_ERROR_DUMP 984 #define IPR_NUM_LOG_HCAMS 2 #define IPR_NUM_CFG_CHG_HCAMS 2 #define IPR_NUM_HCAMS (IPR_NUM_LOG_HCAMS + IPR_NUM_CFG_CHG_HCAMS) |