2 ms·
> i still don't understand how turning off case sensitivity would speed up things. Maybe it's very Samba specific, but when doing a directory listing on a case
by magicalhippo 5y ago
> i still don't understand how turning off case sensitivity would speed up things.
Maybe it's very Samba specific, but when doing a directory listing on a case-insensitive SMB share it parses the entire directory first before returning the first result.
I forgot the exact reason why, maybe to resolve conflicts, say "foo.txt" and "FOO.txt" can only have one entry.
Regardless, the result is a massive initial delay. Marking the share as case-sensitive skips all this. Worked wonders for me anyway.
Also, when creating "Foo.txt" on a case-insensitive share, it has to check that it doesn't collide with any existing file with different case, etc.
- southerntofu 5y agoThat's also my understanding, but your initial comment suggested that turning off case-sensitivity sped things up. Sorry for the misunderstanding!