summaryrefslogtreecommitdiff
path: root/lib/tdb/common/freelist.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-25Fix some nonempty blank linesVolker Lendecke1-4/+4
2010-02-22Spelling fixes for tdb.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2009-10-23tdb: rename 'struct list_struct' into 'struct tdb_record'Stefan Metzmacher1-9/+9
metze
2009-10-22lib/tdb: wean off TDB_ERRCODE.Rusty Russell1-2/+3
It was a regrettable hack which I used to reduce line count in tdb; in fact it caused confusion as can be seen in this patch. In particular, ecode now needs to be set before TDB_LOG anyway, and having it exposed in the header is useless (the struct tdb_context isn't defined, so it's doubly useless). Also, we should never set errno, as io.c was doing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-06-01overallocate all records by 25%Andrew Tridgell1-0/+3
This greatly reduces the fragmentation of databases where records tend to grow slowly by a small amount each time. The case where this is most seen is the ldb index records. Adding this overallocation reduced the size of the resulting database by more than 20x when running a test that adds 10k users.
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+382