Re: [PATCH] ext4: fix fast commit wait/wake bit mapping on 64-bit

From: Theodore Ts'o

Date: Thu Jun 04 2026 - 10:56:12 EST



On Wed, 13 May 2026 16:58:17 +0800, Li Chen wrote:
> On 64-bit, ext4 dynamic inode states live in the upper half of i_flags,
> and ext4_test_inode_state() applies the corresponding +32 offset.
>
> The fast-commit wait and wake paths open-coded the wait key with the raw
> EXT4_STATE_* value. Add small helpers for the state wait word and bit,
> and use them for the FC_COMMITTING and FC_FLUSHING_DATA waits so the wait
> key follows the same mapping as the state helpers.
>
> [...]

Applied, thanks!

[1/1] ext4: fix fast commit wait/wake bit mapping on 64-bit
commit: 8b3bc93fee6771775243665a0cf31857d6659775

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>