From: Gabriel Krisman Bertazi <krisman@suse.de>
To: "Björn JACKE" <bjacke@SerNet.DE>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: casefold is using unsuitable case mapping table
Date: Mon, 09 Jun 2025 14:12:04 -0400 [thread overview]
Message-ID: <87y0u0yebv.fsf@mailhost.krisman.be> (raw)
In-Reply-To: <20250425114026.GA1032053@sernet.de> ("Björn JACKE"'s message of "Fri, 25 Apr 2025 13:40:26 +0200")
Björn JACKE <bjacke@SerNet.DE> writes:
> I understand that it's difficult to change this as we store hashes of the
> current lowercase version of the filenames. I'm not an expert enough in the
> filesystem code to come up with a good idea how to solve this though.
> Eventually we can use different versions of casefolding tables and store in the
> filesystem, which version to use?
Regardless of the endless discussion about which code-points to fold or
not fold, which we've been having for years already, we must preserve
existing behavior for existing users, i.e. preserve semantics and disk
names and hashes. Since the different semantics are a requirement for
SMB, we should envision a way to provide both maps side-by-side.
I suggest we do it as a separate unicode_map that filesystems can opt-in
through a flag in utf8_load. It should be easy to generate the extra
map and this guarantees we won't break existing users. I'll can take
look in the next weeks.
--
Gabriel Krisman Bertazi
prev parent reply other threads:[~2025-06-09 18:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 12:31 casefold is using unsuitable case mapping table Björn JACKE
2025-04-24 19:53 ` Gabriel Krisman Bertazi
2025-04-25 11:40 ` Björn JACKE
2025-06-09 18:12 ` Gabriel Krisman Bertazi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y0u0yebv.fsf@mailhost.krisman.be \
--to=krisman@suse.de \
--cc=bjacke@SerNet.DE \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox