Re: [PATCH v6 0/4] Fix an error caused by improperly dirtied buffer
From: Theodore Ts'o
Date: Thu Sep 05 2024 - 10:56:35 EST
On Fri, 30 Aug 2024 13:37:35 +0800, zhangshida wrote:
> On an old kernel version(4.19, ext3, data=journal, pagesize=64k),
> an assertion failure will occasionally be triggered by the line below:
> ---------
> jbd2_journal_commit_transaction
> {
> ...
> J_ASSERT_BH(bh, !buffer_dirty(bh));
> /*
> * The buffer on BJ_Forget list and not jbddirty means
> ...
> }
> ---------
>
> [...]
Applied, thanks!
[1/4] ext4: persist the new uptodate buffers in ext4_journalled_zero_new_buffers
commit: 3910b513fcdf33030798755c722174ef4a827d2a
[2/4] ext4: hoist ext4_block_write_begin and replace the __block_write_begin
commit: 6b730a405037501a260d6efd24782d2737e65d07
[3/4] ext4: fix a potential assertion failure due to improperly dirtied buffer
commit: cb3de5fc876ee9ef2b830c9e6cdafac5c90903ef
[4/4] ext4: remove the special buffer dirty handling in do_journal_get_write_access
commit: 183aa1d3baea18b199505455a0247b13de826e2f
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>