Re: [f2fs-dev] [PATCH] f2fs: fix to record both APPEND and UPDATE ino entries

From: patchwork-bot+f2fs

Date: Mon Sep 14 2026 - 12:50:58 EST


Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:

On Thu, 10 Sep 2026 11:02:43 +0800 you wrote:
> In f2fs_post_evict_inode(), record_bits is assigned with BIT(APPEND_INO)
> and BIT(UPDATE_INO) respectively, so the second assignment overwrites
> the first one: when both FI_APPEND_WRITE and FI_UPDATE_WRITE are set,
> only the UPDATE_INO entry is recorded.
>
> The two flags are not mutually exclusive.Once the APPEND_INO entry is
> lost after the inode eviction, the shortcut in f2fs_do_sync_file() can
> take the flush_out path in the next fsync(), skipping f2fs_fsync_node_pages().
> As a result, the dnodes holding the newly allocated blocks are not
> fsync-marked, and after a sudden power loss, the data appended before the
> eviction is silently lost.
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: fix to record both APPEND and UPDATE ino entries
https://git.kernel.org/jaegeuk/f2fs/c/06768d77ed95

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html