svn commit: samba r10031 - in branches/tmp/vl-cluster/source: include locking smbd

vlendec at samba.org vlendec at samba.org
Sun Sep 4 21:09:30 GMT 2005


Author: vlendec
Date: 2005-09-04 21:09:29 +0000 (Sun, 04 Sep 2005)
New Revision: 10031

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10031

Log:
An alternative implementation of the share mode database using a file per open
file. Right now mostly a proof of concept with quite a bit potential for
optimization, on my laptop with untuned ext3 this loses about 30% netbench
compared to the tdb-based scheme. Two things might be tried: Hashing the file
name into subdirectories, and second keep some used fd's open for re-use. This
needs careful optimization wrt locking, but it might improve things a bit.

Volker

Modified:
   branches/tmp/vl-cluster/source/include/smb.h
   branches/tmp/vl-cluster/source/locking/locking.c
   branches/tmp/vl-cluster/source/smbd/close.c
   branches/tmp/vl-cluster/source/smbd/trans2.c


Changeset:
Sorry, the patch is too large (473 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10031


More information about the samba-cvs mailing list