Bug 219586
Summary: | Unable to find file after unicode change | ||
---|---|---|---|
Product: | File System | Reporter: | HanQi (hanqi) |
Component: | f2fs | Assignee: | Default virtual assignee for f2fs (filesystem_f2fs) |
Status: | RESOLVED CODE_FIX | ||
Severity: | blocking | CC: | chao, hanqi, jaegeuk, pmenzel+bugzilla.kernel.org |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | Yes | Bisected commit-id: | 18b5f47e7da46d3a0d7331e48befcaf151ed2ddf |
Description
HanQi
2024-12-10 06:58:44 UTC
Hi, I think that unicode patch introduced a regression, as old and new paths gives a different file length. Wasn't that broken to fix? (In reply to Jaegeuk Kim from comment #1) > Hi, > > I think that unicode patch introduced a regression, as old and new paths > gives a different file length. Wasn't that broken to fix? Hi Kim, I'm using the latest version of the kernel and following the above steps still reproduces the problem, can you tell me which patch fixed it? My kernel version is as follows: uname -r 6.13.0-rc2+ Currently, the f2fs.fsck utility can only repair directories or files that are not encrypted, but it cannot repair encrypted files with the encryption feature because it cannot get the key to calculate the hash, so it cannot repair encrypted files with fsck. IMO, you need to revert unicode patch. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=231825b2e1ff6ba799c5eaf396d3ab2354e37c6b reverts the culprit and supposedly fixes the issue. Can you confirm, and close the issues, if it does? (In reply to HanQi from comment #0) > Hi everybody, > The f2fs filesystem is unable to read some files with special characters, > such as ❤️, after the kernel was updated with the following patch: > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/ > ?id=18b5f47e7da46d3a0d7331e48befcaf151ed2ddf Hi HanQi, I guess you can report this bug to Gabriel Krisman Bertazi <krisman@kernel.org>? Thanks, (In reply to Chao Yu from comment #5) > (In reply to HanQi from comment #0) > > Hi everybody, > > The f2fs filesystem is unable to read some files with special characters, > > such as ❤️, after the kernel was updated with the following patch: > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/ > > ?id=18b5f47e7da46d3a0d7331e48befcaf151ed2ddf > > Hi HanQi, I guess you can report this bug to Gabriel Krisman Bertazi > <krisman@kernel.org>? > > Thanks, Hi Chao, Krisman already knows about the bug. You can see the link:https://lore.kernel.org/lkml/875xnqudr1.fsf@mailhost.krisman.be/ |