Case-insensitive filesystem lookups
Case-insensitive filesystem lookups
Posted May 25, 2018 20:17 UTC (Fri) by saffroy (guest, #43999)Parent article: Case-insensitive filesystem lookups
FWIW in my day job I work on a proprietary userland distributed filesystem, to which I did add support for case insensitivity (per directory), in order to improve performance with Samba (see my other comment on Samba having to scan large directories).
It works pretty well, using libicu to do Unicode case folding. This means indeed that the file names are then restricted to valid UTF-8 strings (this includes all ASCII strings), which in practice isn't a very annoying restriction for us, considering that we enable case insensitivity when serving through Samba, and Samba itself already converts incoming file names to UTF-8.
I see some comments arguing that this complexity should be pushed to the UI: well, it's easier said than done, and anyone trying to do this ends up reimplementing a filesystem if they want the result to be even moderately efficient. Therefore, there is real value in having Linux filesystems that support case insensitivity.
