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

From: Mike Snitzer
Date: Tue Oct 29 2024 - 12:44:53 EST


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>