[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=whB_YjwB4sGsRGJx8AbxR8wRAJBfy+x2KhsAQ4QssZpMg@mail.gmail.com>
Date: Wed, 11 Dec 2024 13:56:45 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Jaegeuk Kim <jaegeuk@...nel.org>
Cc: Gabriel Krisman Bertazi <krisman@...e.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, "hanqi@...o.com" <hanqi@...o.com>,
"Theodore Ts'o" <tytso@....edu>
Subject: Re: Unicode conversion issue
On Wed, 11 Dec 2024 at 13:53, Jaegeuk Kim <jaegeuk@...nel.org> wrote:
>
> Casefolding supports f2fs and ext4 per Android request, and only f2fs
> constructs hash-based directory structure. If we use hash of the
> case-preserving entry, we had no easy solution to distinguish file_A and file_a.
I really wish people had just done case-folding as a slow case, and
not used the hash at all.
Does that mean that you have to walk the directory linearly? Yes it
does. But that's my point: you shouldn't optimize for the idiocy of
case-folding. You should optimize for the sane case, and actively try
to discourage people from doing stupid bad things.
Oh well. Too late now.
Linus
Powered by blists - more mailing lists