Re: [PATCH] blk-core: use pr_warn_ratelimited() in bio_check_ro()

From: Jens Axboe
Date: Tue Nov 07 2023 - 10:36:38 EST



On Tue, 07 Nov 2023 19:12:47 +0800, Yu Kuai wrote:
> If one of the underlying disks of raid or dm is set to read-only, then
> each io will generate new log, which will cause message storm. This
> environment is indeed problematic, however we can't make sure our
> naive custormer won't do this, hence use pr_warn_ratelimited() to
> prevent message storm in this case.
>
>
> [...]

Applied, thanks!

[1/1] blk-core: use pr_warn_ratelimited() in bio_check_ro()
commit: 1b0a151c10a6d823f033023b9fdd9af72a89591b

Best regards,
--
Jens Axboe