From 9f92316f3b086c4a0fe85205114c6978477c65e5 Mon Sep 17 00:00:00 2001 From: Glenn Miles Date: Mon, 14 Oct 2019 12:23:37 -0500 Subject: Do nothing with error logs after shutdown event is received. Disable processing of error logs by the error log server after receiving the shutdown event. This is to prevent the possibility of bad things from happening once other services are shutdown. CQ: SW465848 Change-Id: I59c4951182d43a78f5704b4b4c3379f10dd03182 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85278 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Michael Baiocchi Reviewed-by: Roland Veloz Reviewed-by: Daniel M Crowell --- src/include/usr/errl/errlmanager.H | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include/usr') diff --git a/src/include/usr/errl/errlmanager.H b/src/include/usr/errl/errlmanager.H index 5bd2aa196..586c21cee 100644 --- a/src/include/usr/errl/errlmanager.H +++ b/src/include/usr/errl/errlmanager.H @@ -477,6 +477,11 @@ private: */ bool iv_pnorReadyForErrorLogs; + /** + * @brief Indicates if we have processed a shutdown event message + */ + bool iv_recvdShutdownEvent; + /** * @brief * Pointer to the header that precedes the error log storage buffer -- cgit v1.2.1