Author: vlendec Date: 2005-09-05 19:39:42 +0000 (Mon, 05 Sep 2005) New Revision: 10040
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10040 Log: A little optimization for the shared locking database -- spread the files across 256 directories and keep a list of 20 share mode file descriptors open. Using tdb it does hardly work at all, using this stuff it starts to scale. Now I need to do this to brlock.tdb as well, activating 'locking=yes' gets me back into the tdb tarpit. I wonder if I should not better implement this as an abstraction around tdb instead of going around in the source code and fix one tdb user after the other. Volker Modified: branches/tmp/vl-cluster/source/locking/locking.c Changeset: Sorry, the patch is too large (538 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10040