Re: [PATCH v2] ext4: clear stale xarray tags on folios skipped during writeback

"Theodore Ts'o" <[email protected]>
Newsgroups org.kernel.vger.linux-ext4
Message-ID <178481171740.796182.14497370066206720502.b4-ty@b4>
On Fri, 26 Jun 2026 00:01:23 +0800, Gerald Yang wrote:
> In data=journal mode, the writeback thread can hit the
> WARN_ON_ONCE(sb_rdonly(sb)) in ext4_journal_check_start() while the
> superblock is being remounted read-only during reboot:
> 
> Workqueue: writeback wb_workfn (flush-253:0)
> RIP: 0010:ext4_journal_check_start+0x8b/0xd0
> Call Trace:
>   __ext4_journal_start_sb+0x3c/0x1e0
>   mpage_prepare_extent_to_map+0x4af/0x580
>   ext4_do_writepages+0x3c0/0x1080
>   ext4_writepages+0xc8/0x1a0
>   do_writepages+0xc4/0x180
>   __writeback_single_inode+0x45/0x2f0
>   writeback_sb_inodes+0x26b/0x5d0
>   __writeback_inodes_wb+0x54/0x100
>   wb_writeback+0x1ac/0x320
>   wb_workfn+0x394/0x470
> 
> [...]

Applied, thanks!

[1/1] ext4: clear stale xarray tags on folios skipped during writeback
      commit: ec524aae479b4b2078c47492b90ec21200bce434

Best regards,
-- 
Theodore Ts'o <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.