Re: [PATCH][next] dm ioctl: rate limit a couple of ioctl based error messages

From: Mikulas Patocka
Date: Thu Oct 31 2024 - 11:06:40 EST




On Tue, 29 Oct 2024, Mike Snitzer wrote:

> On Thu, Oct 24, 2024 at 12:04:31PM +0100, Colin Ian King wrote:
> > It is possible to spam the kernel log with a misbehaving user process that
> > is passing incorrect dm ioctls to /dev/mapper/control. Use a rate limit
> > on these error messages to reduce the noise.
> >
> > Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
>
> Mikulas, please update the header to include the context that
> stress-ng is what Colin was using when he experienced excessive
> warnings.
>
> Thanks.
>
> Acked-by: Mike Snitzer <snitzer@xxxxxxxxxx>

OK, done.

Mikulas