* Re: RASDaemon patch
[not found] <BL1PR15MB5337303B199FE97F5B005884E6EF2@BL1PR15MB5337.namprd15.prod.outlook.com>
@ 2025-01-28 14:10 ` Mauro Carvalho Chehab
0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2025-01-28 14:10 UTC (permalink / raw)
To: Matthew Emerson; +Cc: linux-edac@vger.kernel.org, mchehab@kernel.org
Em Tue, 28 Jan 2025 11:19:45 +0000
Matthew Emerson <Matthew.Emerson@ibm.com> escreveu:
> Hi,
>
> I’m a developer at IBM working on the storage systems range, I am working on using RASDaemon as a method to help manage correctable errors in DIMMs, and I was hoping to talk to you about a patch I was intending to submit.
>
> Essentially, I was hoping to submit a patch which will have the trigger feature work when the threshold is exceeded rather than when any event occurs. As I am looking for more to happen than offline the page via soft or hard offline when the threshold is exceeded, and it would be beneficial to have a custom script trigger.
Triggering with thresholds makes sense. Yet, as the event trigger starts
an script, it would be possible to use it to check for thresholds inside
the script itself. Not sure what would be the benefit to embed the event
threshold calculus inside rasdaemon. Granted, it can query the database to
better detect thresholds.
On that sense, one thing that I'm considering is to extend the DB interface
for it to work with other databases (MariaDB/MySQL, Postgres,...) and have
a better data model to help taking such policy decisions. Patches to
take such approach are welcomed.
Yet, if you have something already coded, please send a PR to github.
I'll review there. You may also open an issue for us to discuss it there
and keep track of its progress.
> I wanted to know whether this would be something you would consider accepting into the codebase? As I have something working and tested right now. If you were I also wanted to know roughly how long the process would take until merging?
It very much depends on how much time I have to take a look on userspace
code. I'm intending to review a bunch of pending stuff maybe next week
or at the week after that.
> Please get back to me as soon as possible.
>
> Kind regards,
>
> Matt
>
> Unless otherwise stated above:
>
> IBM United Kingdom Limited
> Registered in England and Wales with number 741598
> Registered office: Building C, IBM Hursley Office, Hursley Park Road, Winchester, Hampshire SO21 2JN
Thanks,
Mauro
^ permalink raw reply [flat|nested] only message in thread