[Samba] Performance optimizations for small files and case sensitive-option

Jeremy Allison jra at samba.org
Wed Jan 10 16:48:52 UTC 2018

On Wed, Jan 10, 2018 at 09:04:06AM +0100, Rainer Krienke via samba wrote:
> Hallo,
> thank you very much for your link. Unfortunately I cannot make all files
> of all our users upper case. This is because all files that are stored
> on our fileservers for all our about 12000 accounts can be accessed via
> Samba but also via NFS from linux. Moreover even Users that usually work
> with Windows, sometimes log in on a Linux machine and want to access
> their files as well.
> What I am unable to understand is why the efficient behaviour of "case
> sensitive = True" cannot be achieved by a cache that learns all existing
> files in the current directory so samba would have simply to look into
> this cache and things should be as efficient like in the "case sensitive
> = True" case without the disadvantages like the need to convert all
> files to eg upper case?

Because the contents of directories change arbitrarily.

More information about the samba mailing list