Re: [f2fs-dev] [PATCH 1/2] f2fs: fix to reclaim space in f2fs_allocate_pinning_section()

From: patchwork-bot+f2fs

Date: Thu Aug 13 2026 - 12:05:28 EST


Hello:

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

On Wed, 12 Aug 2026 12:17:54 +0000 you wrote:
> It needs to trigger checkpoint to free space reclaimed by f2fs_gc_range(),
> otherwise, fallocate() on pinfile will fail easily even there is slash
> space in conventional zone.
>
> [Testcase]
> nullblk_create.sh 512 2 1024 1024
> mkfs.f2fs /dev/nullb0 -f -m
> mount /dev/nullb0 /mnt/f2fs/
> touch /mnt/f2fs/pinfile
> f2fs_io pinfile set /mnt/f2fs/pinfile
> mkdir /mnt/f2fs/dir/
> for((i=0;i<3934;i++)) do { dd if=/dev/zero of=/mnt/f2fs/dir/$i bs=1M count=1;} done
> sync
> for((i=0;i<3934;i+=2)) do { rm /mnt/f2fs/dir/$i;} done
> for((i=0;i<1950;i++)) do { rm /mnt/f2fs/dir/$i;} done
> sync
> f2fs_io fallocate 0 0 $((1024*1024*1024)) /mnt/f2fs/pinfile
> sync
> stat /mnt/f2fs/pinfile
> f2fs_io fiemap 0 $((1024*1024*1024)) /mnt/f2fs/pinfile
>
> [...]

Here is the summary with links:
- [f2fs-dev,1/2] f2fs: fix to reclaim space in f2fs_allocate_pinning_section()
https://git.kernel.org/jaegeuk/f2fs/c/5502c956d6f3
- [f2fs-dev,2/2] f2fs: fix to shrink gc_lock coverage in f2fs_gc_range()
https://git.kernel.org/jaegeuk/f2fs/c/a53894831f5d

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