Re: [f2fs-dev] [PATCH] f2fs: return -EIO for a lost inode block after cp_error

From: patchwork-bot+f2fs

Date: Wed Oct 14 2026 - 12:39:20 EST


Hello:

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

On Mon, 12 Oct 2026 18:22:33 +0000 you wrote:
> From: Daeho Jeong <daehojeong@xxxxxxxxxx>
>
> After cp_error, dirty node caches are dropped without being written.
> If such an inode was never written, its NAT entry is still NEW_ADDR,
> and reading its inode block returns -ENOENT.
>
> f2fs_get_dnode_of_data() passes that -ENOENT up, and callers take it
> as a hole. Since the inode block is missing, the next offset can only
> advance one block, so fiemap walks block by block up to maxbytes,
> about 2^30 blocks, while holding the inode lock. It took hours in a
> power-off recovery test after shutdown and blocked unlink and umount
> on the file.
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: return -EIO for a lost inode block after cp_error
https://git.kernel.org/jaegeuk/f2fs/c/01ee16a7a758

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