Andrew Tridgell tridge at
Mon Nov 1 07:26:19 GMT 1999


What is the logic behind saved_errno in filename.c??

To me it seems totally spurious, and if you set "case sensitive = yes"
then the saved_errno code slows down directory reads by a factor of
about 20 in tests I've done (test with 10000 files took 400 seconds
with code as is and 20 seconds after removing the saved_errno test in

I don't see what else saved_errno will be set to other than ENOENT and
I don't see why we should do the search just because it was a

I'll take the test out for the moment - I'm sure it's not correct.

Cheers, Tridge

More information about the samba-technical mailing list