Re: [PATCH v2] ext4: don't fail journal recovery on an incomplete fast commit
From: Theodore Ts'o
Date: Thu Nov 19 2026 - 09:53:44 EST
On Wed, 07 Oct 2026 12:08:29 +0800, Hsiu-Hsien Lee wrote:
> If the system crashes while the first fast commit after a full commit is
> being written, the fast commit area can hold the head of that fast
> commit without a valid tail. ext4_fc_replay_scan() treats this as an
> error as long as no valid tail has been seen: an invalid tag length or
> an unknown tag returns -ECANCELED, a tail with a wrong tid or checksum
> returns -EFSBADCRC. jbd2_journal_recover() then fails, the file system
> can be mounted neither read-write nor read-only, and the regular journal
> transactions committed before the fast commit are not replayed either:
>
> [...]
Applied, thanks!
[1/1] ext4: don't fail journal recovery on an incomplete fast commit
commit: fab1852d655a962cfc59782ad7efd9bf5691b95c
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>