Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <jaeg...@kernel.org>:
On Fri, 16 Aug 2024 13:07:03 +0900 you wrote: > As the helper function f2fs_bdev_support_discard() shows, f2fs checks if > the target block devices support discard by calling > bdev_max_discard_sectors() and bdev_is_zoned(). This check works well > for most cases, but it does not work for conventional zones on zoned > block devices. F2fs assumes that zoned block devices support discard, > and calls __submit_discard_cmd(). When __submit_discard_cmd() is called > for sequential write required zones, it works fine since > __submit_discard_cmd() issues zone reset commands instead of discard > commands. However, when __submit_discard_cmd() is called for > conventional zones, __blkdev_issue_discard() is called even when the > devices do not support discard. > > [...] Here is the summary with links: - [f2fs-dev,v2] f2fs: check discard support for conventional zones https://git.kernel.org/jaegeuk/f2fs/c/43aec4d01bd2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel