unix_convert() and amount of stat() calls
Stefan (metze) Metzmacher
metze at samba.org
Tue Sep 7 13:40:17 MDT 2010
what's the reason that we loop over the components
from the root to the leaf, when checking them?
Can't we start with the last component?
At least if it's related to a wildcard search.
Maybe we only need to check the last 2 components,
unless the name is mangled?
The problem I want to solve in this branch:
FindFirst with 'path\to\some\dir\with\files\*'
triggers the following stat calls
path\to\some\dir\with\files\* => ENOENT (this should be already solved
with my patches)
path\to\some\dir\with\files\* => ENOENT
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the samba-technical