summaryrefslogtreecommitdiffstats
path: root/lib/tdb/ABI
Commit message (Collapse)AuthorAgeFilesLines
* lib/tdb: Update ABIAmitay Isaacs2012-03-291-0/+66
| | | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Mar 29 13:12:46 CEST 2012 on sn-devel-104
* tdb: add ABI/tdb-1.2.9.sigsStefan Metzmacher2010-12-291-0/+62
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 29 11:26:12 CET 2010 on sn-devel-104
* tdb: add ABI/tdb-1.2.8.sigsStefan Metzmacher2010-12-231-0/+61
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 23 20:35:42 CET 2010 on sn-devel-104
* tdb: commit the version 1.2.7 signaturesMatthias Dieter Wallnöfer2010-10-231-0/+61
|
* tdb: fix non-WAF build, commit 1.2.6 ABI file.Rusty Russell2010-09-271-0/+61
| | | | | | Sorry Jeremy. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: add Bob Jenkins lookup3 hash as helper hash.Rusty Russell2010-09-271-0/+61
| | | | | | | | | | This is a better hash than the default: shipping it with tdb makes it easy for callers to use it as the hash by passing it to tdb_open_ex(). This version taken from CCAN and modified, which took it from http://www.burtleburtle.net/bob/c/lookup3.c. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: add ABI/tdb-1.2.4.sigsStefan Metzmacher2010-09-141-0/+60
| | | | metze
* tdb: workaround starvation problem in locking entire database.Rusty Russell2010-08-141-0/+60
| | | | | | | | | | | | | | | | | | | | | | | We saw tdb_lockall() take 71 seconds under heavy load; this is because Linux (at least) doesn't prevent new small locks being obtained while we're waiting for a big log. The workaround is to do divide and conquer using non-blocking chainlocks: if we get down to a single chain we block. Using a simple test program where children did "hold lock for 100ms, sleep for 1 second" the time to do tdb_lockall() dropped signifiantly. There are ln(hashsize) locks taken in the contended case, but that's slow anyway. More analysis is given in my blog at http://rusty.ozlabs.org/?p=120 This may also help transactions, though in that case it's the initial read lock which uses this gradual locking routine; the update-to-write-lock code is separate and still tries to update in one go. Even though ABI doesn't change, minor version bumped so behavior change can be easily detected. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: commit ABI/tdb-1.2.2.sigsStefan Metzmacher2010-05-111-0/+60
| | | | metze
* s4-waf: rebuild signature files with the api type mapsAndrew Tridgell2010-04-181-5/+5
| | | | | This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
* tdb-waf: added ABI checking for tdbAndrew Tridgell2010-04-181-0/+95