Re: [f2fs-dev] [PATCH] f2fs: cache: count the temporary pins apart from the regular references
From: patchwork-bot+f2fs
Date: Tue Oct 13 2026 - 18:30:42 EST
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Mon, 5 Oct 2026 19:21:13 +0000 you wrote:
> From: Daeho Jeong <daehojeong@xxxxxxxxxx>
>
> f2fs_unlock_cache() and f2fs_end_cache_writeback() take a temporary
> reference on the entry around clear_and_wake_up_bit(), so that the entry
> is not freed before wake_up_bit() returns. f2fs_destroy_cache() waits
> for the LOCKED and WRITEBACK bits and then expects the refcount to be 1,
> but the bit waits can return as soon as the bit is cleared, before the
> I/O completion drops the temporary reference. When the completion runs
> in process context and is preempted there (e.g. dm-flakey in
> generic/311), umount hits:
>
> [...]
Here is the summary with links:
- [f2fs-dev] f2fs: cache: count the temporary pins apart from the regular references
https://git.kernel.org/jaegeuk/f2fs/c/8596baf652f4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html