[SCM] Samba Shared Repository - branch v3-2-test updated -
jra at samba.org
Sun Dec 23 00:30:49 GMT 2007
On Sat, Dec 22, 2007 at 04:11:14PM -0600, James Peach wrote:
> Cache the underlying filesystem capabilities at connection time.
> This change alters the Samba connection code to cache the filesystem
> capabilities when a new client connects. This can be used to enable
> filesystem specific optimisations is a general manner.
James, once you've determined the filesystem capabilities
for the share, if they're found to be case insensitive and
case preserving, then it needs to override these settings
in the connection struct.
If you do this then the unix_convert() function already
has the logic to bypass case sensitive searches for pathname
lookups that will never be found. This will massively speed
up smbd on directories with thousands of entries when a filename
that doesn't exist is looked up.
More information about the samba-technical