Re: [f2fs-dev] [PATCH v4] f2fs: drop pending discard commands before reserving device alias

From: patchwork-bot+f2fs

Date: Tue Sep 08 2026 - 16:01:59 EST


Hello:

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

On Thu, 3 Sep 2026 09:10:31 -0700 you wrote:
> From: Daeho Jeong <daehojeong@xxxxxxxxxx>
>
> When reserving a device alias via f2fs_ioc_reserve_dev_alias(),
> f2fs_reserve_device_alias() bulk-marks all blocks in the target device
> range as valid in SIT.
>
> However, if the device was previously in the released state, stale
> pending discard commands covering that range may still exist in dcc->root.
> When f2fs_issue_discard_thread later processes those commands,
> __check_sit_bitmap() detects valid blocks in the discard range and
> triggers a kernel BUG().
>
> [...]

Here is the summary with links:
- [f2fs-dev,v4] f2fs: drop pending discard commands before reserving device alias
https://git.kernel.org/jaegeuk/f2fs/c/5200186c8cf1

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