Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

On Tue,  6 Jan 2026 20:12:11 +0800 you wrote:
> From: Yongpeng Yang <[email protected]>
> 
> During SPO tests, when mounting F2FS, an -EINVAL error was returned from
> f2fs_recover_inode_page. The issue occurred under the following scenario
> 
> Thread A                                     Thread B
> f2fs_ioc_commit_atomic_write
>  - f2fs_do_sync_file // atomic = true
>   - f2fs_fsync_node_pages
>     : last_folio = inode folio
>     : schedule before folio_lock(last_folio) f2fs_write_checkpoint
>                                               - block_operations// writeback 
> last_folio
>                                               - schedule before 
> f2fs_flush_nat_entries
>     : set_fsync_mark(last_folio, 1)
>     : set_dentry_mark(last_folio, 1)
>     : folio_mark_dirty(last_folio)
>     - __write_node_folio(last_folio)
>       : f2fs_down_read(&sbi->node_write)//block
>                                               - f2fs_flush_nat_entries
>                                                 : {struct nat_entry}->flag |= 
> BIT(IS_CHECKPOINTED)
>                                               - unblock_operations
>                                                 : 
> f2fs_up_write(&sbi->node_write)
>                                              f2fs_write_checkpoint//return
>       : f2fs_do_write_node_page()
> f2fs_ioc_commit_atomic_write//return
>                                              SPO
> 
> [...]

Here is the summary with links:
  - [f2fs-dev,v5,1/1] f2fs: fix IS_CHECKPOINTED flag inconsistency issue caused 
by concurrent atomic commit and checkpoint writes
    https://git.kernel.org/jaegeuk/f2fs/c/7633a7387eb4

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




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to