Re: [PATCH v1] pstore/ram: Rate-limit "uncorrectable error in header" message

2021-03-03 Thread Kees Cook
On Tue, 2 Mar 2021 12:58:50 +0300, Dmitry Osipenko wrote: > There is a quite huge "uncorrectable error in header" flood in KMSG > on a clean system boot since there is no pstore buffer saved in RAM. > Let's silence the redundant noisy messages by rate-limiting the printk > message. Now there are ma

[PATCH v1] pstore/ram: Rate-limit "uncorrectable error in header" message

2021-03-02 Thread Dmitry Osipenko
There is a quite huge "uncorrectable error in header" flood in KMSG on a clean system boot since there is no pstore buffer saved in RAM. Let's silence the redundant noisy messages by rate-limiting the printk message. Now there are maximum 10 messages printed repeatedly instead of 35+. Signed-off-b