Re: [f2fs-dev] [PATCH] f2fs: fix to not account invalid blocks in get_left_section_blocks()

From: patchwork-bot+f2fs
Date: Tue Dec 02 2025 - 13:16:12 EST


Hello:

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

On Fri, 28 Nov 2025 17:25:07 +0800 you wrote:
> w/ LFS mode, in get_left_section_blocks(), we should not account the
> blocks which were used before and now are invalided, otherwise those
> blocks will be counted as freed one in has_curseg_enough_space(), result
> in missing to trigger GC in time.
>
> Cc: stable@xxxxxxxxxx
> Fixes: 249ad438e1d9 ("f2fs: add a method for calculating the remaining blocks in the current segment in LFS mode.")
> Fixes: bf34c93d2645 ("f2fs: check curseg space before foreground GC")
> Signed-off-by: Chao Yu <chao@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: fix to not account invalid blocks in get_left_section_blocks()
https://git.kernel.org/jaegeuk/f2fs/c/30b135414fde

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