From: Chaitra P B Date: Tue, 24 Apr 2018 09:28:36 +0000 (-0400) Subject: scsi: mpt3sas: Increase event log buffer to support 24 port HBA's. X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~5179^2~158 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1537d1bfc58858f2e0a86c37977d92b05e0afa2e;p=mirror_ubuntu-focal-kernel.git scsi: mpt3sas: Increase event log buffer to support 24 port HBA's. For 24 port HBA's events generated by IOC are more in certain cases and the current circular buffer may be overwritten.Hence increased the event log buffer to accommodate more events. Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h index a44046cff0f3..18b46faef6f1 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h @@ -184,7 +184,7 @@ struct mpt3_ioctl_iocinfo { /* number of event log entries */ -#define MPT3SAS_CTL_EVENT_LOG_SIZE (50) +#define MPT3SAS_CTL_EVENT_LOG_SIZE (200) /** * struct mpt3_ioctl_eventquery - query event count and type