Re: [PATCH net-next v3 4/5] netconsole: allow configuring the rate limit burst through configfs
From: Gustavo Luiz Duarte
Date: Wed Sep 23 2026 - 12:23:01 EST
On Mon, Sep 14, 2026 at 1:10 PM Breno Leitao <leitao@xxxxxxxxxx> wrote:
>
> A target that sets ratelimit_interval_ms runs with the ratelimit default
> of 10 messages per interval, which is either too coarse or too generous
> depending on how chatty the target is.
>
> Expose it as ratelimit_burst through configfs.
>
> Restart the interval on write, as ratelimit_interval_ms_store() does.
> Raising the burst of a target that has already drained the bucket
> otherwise buys nothing until the interval in flight ends.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
Reviewed-by: Gustavo Luiz Duarte <gustavold@xxxxxxxxx>