This checking fixes the statcache bug that stopped NetBench from running
authorJeremy Allison <jra@samba.org>
Fri, 28 Aug 1998 21:46:29 +0000 (21:46 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 28 Aug 1998 21:46:29 +0000 (21:46 +0000)
commit779b924ec1f6c81ff578d22295b20fece698d1fc
treeaed94f78bf615954694607daf8d9fc0cb2601135
parent7db45f169c33e0f3a67ba2260049226992de8bdf
This checking fixes the statcache bug that stopped NetBench from running
correctly. Added new parameter "stat cache size" - set to 50 by default.

I now declare the statcache code officially "open" for business :-).
It gets a hit rate of 97% with a NetBench run and seems to make
using a case insensitive run as efficient as a case sensitive run.

Also tidied up our sys_select usage - added a maxfd parameter and
also added an implementation of select in terms of poll(), for systems
where poll() is much faster. This is disabled by default.

Jeremy.
source/client/client.c
source/client/smbmount.c
source/include/proto.h
source/lib/system.c
source/lib/util.c
source/libsmb/nmblib.c
source/nmbd/nmbd_packets.c
source/param/loadparm.c
source/smbd/filename.c
source/smbd/server.c