Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dynamic switch of ras events support. #124

Closed
wants to merge 1 commit into from

Conversation

PshySimon
Copy link

Rasdaemon does not support a way to disable some events by config. If user want to disable specified event(eg:block_rq_complete), he should recompile rasdaemon, which is not so convenient.

This patch add dynamic switch of ras event support.You can add events you want to disabled in /etc/sysconfig/rasdaemon.For example, DISABLE="ras:mc_event,block:block_rq_complete".Then restart rasdaemon, these two events will be disabled without recompilation.

@PshySimon PshySimon force-pushed the master branch 2 times, most recently from cb51b3d to feae2a4 Compare December 1, 2023 01:39
Rasdaemon does not support a way to disable some events by config.
If user want to disable specified event(eg:block_rq_complete), he
should recompile rasdaemon, which is not so convenient.

This patch add dynamic switch of ras event support.You can add
events you want to disabled in /etc/sysconfig/rasdaemon.For example,
`DISABLE="ras:mc_event,block:block_rq_complete"`.Then restart
rasdaemon, these two events will be disabled without recompilation.
@mchehab
Copy link
Owner

mchehab commented Jan 22, 2024

Merged, thanks. Next time, please use your name as the author and add a Signed-off-by.

@mchehab mchehab closed this Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants