Bug 218770
Summary: | fsck seems unable to solve corruption | ||
---|---|---|---|
Product: | File System | Reporter: | Guido (guido.iodice) |
Component: | f2fs | Assignee: | Default virtual assignee for f2fs (filesystem_f2fs) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | guido.iodice, jaegeuk |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | Yes | Bisected commit-id: | |
Attachments: | fsck |
Description
Guido
2024-04-24 11:40:11 UTC
Created attachment 306205 [details]
fsck
*** Bug 218769 has been marked as a duplicate of this bug. *** > Even running fsck several times always finds problems. This looks like a f2fs fsck issue, not the kernel issue. Please post here: https://github.com/jaegeuk/f2fs-tools On 4/24/24 12:21 PM, Tor Vic wrote: > > I can confirm the constant fsck issue, and it was fixed in my case by > the following patch: > > > https://lore.kernel.org/linux-f2fs-devel/20240409203411.1885121-3-jaegeuk@kernel.org/ (In reply to Artem S. Tashkinov from comment #4) > On 4/24/24 12:21 PM, Tor Vic wrote: > > > > I can confirm the constant fsck issue, and it was fixed in my case by > > the following patch: > > > > > > > https://lore.kernel.org/linux-f2fs-devel/20240409203411.1885121-3-jaegeuk@kernel.org/ I have 6.9.rc5 (dated 2024-04-21 on kernel.org) Is that patch already applied to it? If yes, it doesn't solve the bug. Thank you for the report. It seems I need to reapply that patch indeed. (In reply to Jaegeuk Kim from comment #6) > Thank you for the report. It seems I need to reapply that patch indeed. Does rc6 contain the reapplied patch? The problem persists in the released version of kernel 6.9 https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev&id=b864ddb57eb00c4ea1e6801c7b2f70f1db2a7f4b is going to be merged in upcoming weeks and LTS probably will pick up later given the tag. I applied the patch to 6.9 and it works fine. I am a bit surprised that it is not already applied to 6.9.1. The patch is in the next pull request. https://patchwork.kernel.org/project/f2fs/patch/ZkumXs7POGImbr-k@google.com/ Once Linus pulled it, I can ask Greg to queue it in -stable. (In reply to Jaegeuk Kim from comment #11) > The patch is in the next pull request. > https://patchwork.kernel.org/project/f2fs/patch/ZkumXs7POGImbr-k@google.com/ > > Once Linus pulled it, I can ask Greg to queue it in -stable. Thank you! 6.9.2 will have the fix. https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/?id=b863827181d80ae33f822dc74d32e377737858c2 Thank you! correction; 6.9.3-rc1 has the fix. |