svn commit: samba r13279 - in branches/tmp/jpeach-cluster/source: .
nsswitch smbd tdb
jpeach at samba.org
jpeach at samba.org
Wed Feb 1 05:56:06 GMT 2006
Author: jpeach
Date: 2006-02-01 05:56:03 +0000 (Wed, 01 Feb 2006)
New Revision: 13279
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13279
Log:
This change implements a new TDB storage interface called exploded or
directory TDBs. Each hash chain of a TDB file is stored in a separate
file withing a directory. Each of these files is itself a file TDB.
Whether TDBs are file or directory TDBs is transparent to the caller
through the use of a primitive abstraction interface. Exploded TDBs are
slower than file TDBs, but can be more scaleable.
The admin selects which TDBs should be exploded in smb.conf with the
following syntax:
tdbexplode:tdbname = /path/to/tdb/directory
There is a similar syntax for turning off mmap for specific TDBs:
tdbmmap:tdbname = no
Added:
branches/tmp/jpeach-cluster/source/tdb/tdbdir.c
branches/tmp/jpeach-cluster/source/tdb/tdbinterface.c
Modified:
branches/tmp/jpeach-cluster/source/Makefile.in
branches/tmp/jpeach-cluster/source/nsswitch/winbindd_cache.c
branches/tmp/jpeach-cluster/source/nsswitch/winbindd_util.c
branches/tmp/jpeach-cluster/source/smbd/tdbutil.c
branches/tmp/jpeach-cluster/source/tdb/spinlock.c
branches/tmp/jpeach-cluster/source/tdb/spinlock.h
branches/tmp/jpeach-cluster/source/tdb/tdb.c
branches/tmp/jpeach-cluster/source/tdb/tdb.h
branches/tmp/jpeach-cluster/source/tdb/tdbback.c
branches/tmp/jpeach-cluster/source/tdb/tdbutil.c
Changeset:
Sorry, the patch is too large (3934 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13279
More information about the samba-cvs
mailing list