Re: [f2fs-dev] [PATCH v3] f2fs: fix to freeze GC and discard threads quickly

From: patchwork-bot+f2fs

Date: Tue Mar 24 2026 - 13:34:17 EST


Hello:

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

On Mon, 16 Mar 2026 11:59:54 -0700 you wrote:
> From: Daeho Jeong <daehojeong@xxxxxxxxxx>
>
> Suspend can fail if kernel threads do not freeze for a while.
> f2fs_gc and f2fs_discard threads can perform long-running operations
> that prevent them from reaching a freeze point in a timely manner.
>
> This patch adds explicit freezing checks in the following locations:
> 1. f2fs_gc: Added a check at the 'retry' label to exit the loop quickly
> if freezing is requested, especially during heavy GC rounds.
> 2. __issue_discard_cmd: Added a 'suspended' flag to break both inner and
> outer loops during discard command issuance if freezing is detected
> after at least one command has been issued.
> 3. __issue_discard_cmd_orderly: Added a similar check for orderly discard
> to ensure responsiveness.
>
> [...]

Here is the summary with links:
- [f2fs-dev,v3] f2fs: fix to freeze GC and discard threads quickly
https://git.kernel.org/jaegeuk/f2fs/c/62b45b0ad4cd

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