svn commit: samba r11266 - branches/SAMBA_3_0/source/param
trunk/source/param
vlendec at samba.org
vlendec at samba.org
Sun Oct 23 16:29:04 GMT 2005
Author: vlendec
Date: 2005-10-23 16:29:02 +0000 (Sun, 23 Oct 2005)
New Revision: 11266
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11266
Log:
Speed up loading smb.conf for large numbers of share definitions. The problem
was a O(n^2) loop: Whenever a service definition was found, we linearly
searched the already loaded share definitions, the patch adds an internal tdb
for this. For a smb.conf with 2000 shares this speeds up loading by about a
factor of 50.
Might be a fix for bug #1117.
Thanks to Michael Adam <ma at sernet.de>,
Volker
Modified:
branches/SAMBA_3_0/source/param/loadparm.c
trunk/source/param/loadparm.c
Changeset:
Sorry, the patch is too large (465 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11266
More information about the samba-cvs
mailing list