Re: [f2fs-dev] [PATCH] f2fs: fix to set .discard_granularity correctly

From: patchwork-bot+f2fs
Date: Fri Feb 28 2025 - 11:30:20 EST


Hello:

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

On Mon, 24 Feb 2025 14:20:07 +0800 you wrote:
> commit 4f993264fe29 ("f2fs: introduce discard_unit mount option") introduced
> a bug, when we enable discard_unit=section option, it will set
> .discard_granularity to BLKS_PER_SEC(), however discard granularity only
> supports [1, 512], once section size is not equal to segment size, it will
> cause issue_discard_thread() in DPOLICY_BG mode will not select discard entry
> w/ any granularity to issue.
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: fix to set .discard_granularity correctly
https://git.kernel.org/jaegeuk/f2fs/c/1b60b23975d6

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