[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z1oLq7817UOuCJQa@google.com>
Date: Wed, 11 Dec 2024 22:01:15 +0000
From: Jaegeuk Kim <jaegeuk@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.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 12/11, Linus Torvalds wrote:
> 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.
Ok, well understood. I'll work on how we can implement the linear search for
case-folding. Meanwhile, yea, quite late so, may I ask for its revert?
>
> Linus
Powered by blists - more mailing lists