Re: [RFC v2] Unicode/UTF-8 support for XFS

Christoph Hellwig
2014-09-29T11:06:13Z

On Fri, Sep 26, 2014 at 09:37:11PM +0200, Olaf Weber wrote:
> My argument against "mount time case-insensitivity" and for "mkfs time
> case-insensitivity" is related to switching from the case-sensitive domain
> to the case-insensitive one.
>
> For case-sensitive, from "README" to "readme" there are 64 different
> possible filenames. Let's say you create 63 out of these 64. Now remount
> the filesystem case-insensitive, and try to open by the 64th version of
> "readme". It is not an exact match for any of the 63 candidate files, and a
> case-insensitive match to all 63 candidate files. Which of these 63 files
> should be opened, and why that one in particular?

Well, the point is not that we use the CI-capable hash all the time. I
fully expect the current XFS behavior to remain the default for normal
systems forever. I just want to make sure that the CI implementation
you chose can also allow mixed lookups if we desire.