[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176340425521.222021.13576588245917125051.b4-ty@kernel.dk>
Date: Mon, 17 Nov 2025 11:30:55 -0700
From: Jens Axboe <axboe@...nel.dk>
To: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Li Chen <me@...ux.beauty>
Cc: stable@...r.kernel.org
Subject: Re: [PATCH] block: rate-limit capacity change info log
On Mon, 17 Nov 2025 13:34:07 +0800, Li Chen wrote:
> loop devices under heavy stress-ng loop streessor can trigger many
> capacity change events in a short time. Each event prints an info
> message from set_capacity_and_notify(), flooding the console and
> contributing to soft lockups on slow consoles.
>
> Switch the printk in set_capacity_and_notify() to
> pr_info_ratelimited() so frequent capacity changes do not spam
> the log while still reporting occasional changes.
>
> [...]
Applied, thanks!
[1/1] block: rate-limit capacity change info log
commit: 3179a5f7f86bcc3acd5d6fb2a29f891ef5615852
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists