Case-insensitive ext4
Case-insensitive ext4
Posted Mar 29, 2019 22:55 UTC (Fri) by jra (subscriber, #55261)In reply to: Case-insensitive ext4 by rweikusat2
Parent article: Case-insensitive ext4
Unfortunately it isn't enough. Cache misses are the problem. If the SMB client sends a filename "foo" and it isn't in the directory, we don't know if it doesn't exist, or exists under another case (e.g. as "Foo"). In that case we need to scan the directory. This gets really expensive, really quickly.
We don't negatively cache as we're often used to export filesystems that local processes are also modifying.
I've been wanting a case-insensitive filesystem lookup option in Linux for a long time (I think ZFS and XFS already have it, however flawed).