Re: [f2fs-dev] [PATCH 1/2] f2fs: cache: pin cached block in f2fs_end_cache_writeback()

From: patchwork-bot+f2fs

Date: Tue Oct 13 2026 - 18:30:39 EST


Hello:

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

On Wed, 30 Sep 2026 23:54:34 +0000 you wrote:
> From: Chao Yu <chao@xxxxxxxxxx>
>
> Like page cache folios, writeback does not hold an active reference on
> the cached block during I/O flight, relying instead on truncation or
> shrinker callers to wait on F2FS_BLOCK_WRITEBACK before releasing the entry.
>
> However, in f2fs_end_cache_writeback(), clear_and_wake_up_bit() executes
> two distinct steps:
> 1. clear_bit_unlock(F2FS_BLOCK_WRITEBACK, &entry->state): clears the bit.
> 2. wake_up_bit(&entry->state, F2FS_BLOCK_WRITEBACK): hashes &entry->state
> to look up the waitqueue and wakes waiting tasks.
>
> [...]

Here is the summary with links:
- [f2fs-dev,1/2] f2fs: cache: pin cached block in f2fs_end_cache_writeback()
https://git.kernel.org/jaegeuk/f2fs/c/6e392158cf54
- [f2fs-dev,2/2] f2fs: cache: pin cached block in f2fs_unlock_cache()
https://git.kernel.org/jaegeuk/f2fs/c/61ba87b33e87

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