!17 rasdaemon: fix disk error log storm
From: @xujing99 Reviewed-by: @openeuler-basic Signed-off-by: @openeuler-basic
This commit is contained in:
commit
2de9b69dac
26
bugfix-fix-disk-error-log-storm.patch
Normal file
26
bugfix-fix-disk-error-log-storm.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 38b9c016f7c301435f9e7ba22678a664cca394a7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: xujing <xujing99@huawei.com>
|
||||||
|
Date: Fri, 19 Mar 2021 18:32:08 +0800
|
||||||
|
Subject: [PATCH] rasdaemon: fix disk error log storm
|
||||||
|
|
||||||
|
reason: fix disk error log storm
|
||||||
|
---
|
||||||
|
misc/rasdaemon.service.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/misc/rasdaemon.service.in b/misc/rasdaemon.service.in
|
||||||
|
index e73a08a..04a0489 100644
|
||||||
|
--- a/misc/rasdaemon.service.in
|
||||||
|
+++ b/misc/rasdaemon.service.in
|
||||||
|
@@ -4,7 +4,7 @@ After=syslog.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
EnvironmentFile=/etc/sysconfig/rasdaemon
|
||||||
|
-ExecStart=@sbindir@/rasdaemon -f -r
|
||||||
|
+ExecStart=@sbindir@/rasdaemon -f
|
||||||
|
ExecStartPost=@sbindir@/rasdaemon --enable
|
||||||
|
ExecStop=@sbindir@/rasdaemon --disable
|
||||||
|
Restart=on-abort
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: rasdaemon
|
Name: rasdaemon
|
||||||
Version: 0.6.6
|
Version: 0.6.6
|
||||||
Release: 4
|
Release: 5
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events
|
Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events
|
||||||
URL: https://github.com/mchehab/rasdaemon.git
|
URL: https://github.com/mchehab/rasdaemon.git
|
||||||
@ -25,6 +25,7 @@ Patch3: bugfix-fix-fd-check.patch
|
|||||||
Patch4: backport-0001-ras-page-isolation-do_page_offline-always-considers-.patch
|
Patch4: backport-0001-ras-page-isolation-do_page_offline-always-considers-.patch
|
||||||
Patch5: backport-0002-ras-page-isolation-page-which-is-PAGE_OFFLINE_FAILED.patch
|
Patch5: backport-0002-ras-page-isolation-page-which-is-PAGE_OFFLINE_FAILED.patch
|
||||||
Patch6: backport-rasdaemon-Fix-error-print.patch
|
Patch6: backport-rasdaemon-Fix-error-print.patch
|
||||||
|
Patch7: bugfix-fix-disk-error-log-storm.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The rasdaemon program is a daemon which monitors the platform
|
The rasdaemon program is a daemon which monitors the platform
|
||||||
@ -71,6 +72,12 @@ rm INSTALL %{buildroot}/usr/include/*.h
|
|||||||
/usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || :
|
/usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 15 2021 xujing<17826839720@163.com> - 0.6.6-5
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix disk error log storm
|
||||||
|
|
||||||
* Wed Apr 28 2021 Lv Ying <lvying6@huawei.com> - 0.6.6-4
|
* Wed Apr 28 2021 Lv Ying <lvying6@huawei.com> - 0.6.6-4
|
||||||
- backport bugfix patches from community:
|
- backport bugfix patches from community:
|
||||||
1. Fix error print handle_ras_events.
|
1. Fix error print handle_ras_events.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user