summaryrefslogtreecommitdiff
path: root/lib/tdb/common
AgeCommit message (Expand)AuthorFilesLines
2010-02-24tdb: handle processes dying during transaction commit.Rusty Russell3-0/+86
2010-02-24patch tdb-refactor-tdb_lock-and-tdb_lock_nonblock.patchRusty Russell1-16/+13
2010-02-24tdb: don't truncate tdb on recoveryRusty Russell1-10/+0
2010-02-24tdb: remove lock opsRusty Russell4-40/+22
2010-02-24tdb: rename tdb_release_extra_locks() to tdb_release_transaction_locks()Rusty Russell3-13/+9
2010-02-24tdb: cleanup: remove ltype argument from _tdb_transaction_cancel.Rusty Russell1-17/+13
2010-02-17tdb: tdb_allrecord_lock/tdb_allrecord_unlock/tdb_allrecord_upgradeRusty Russell3-29/+62
2010-02-24tdb: suppress record write locks when allrecord lock is taken.Rusty Russell1-0/+9
2010-02-24tdb: cleanup: always grab allrecord lock to infinity.Rusty Russell1-7/+3
2010-02-17tdb: remove num_locksRusty Russell2-11/+2
2010-02-17tdb: use tdb_nest_lock() for seqnum lock.Rusty Russell1-3/+3
2010-02-24tdb: use tdb_nest_lock() for active lock.Rusty Russell2-5/+18
2010-02-22tdb: use tdb_nest_lock() for open lock.Rusty Russell3-15/+10
2010-02-17tdb: use tdb_nest_lock() for transaction lock.Rusty Russell2-32/+23
2010-02-17tdb: cleanup: find_nestlock() helper.Rusty Russell1-28/+23
2010-02-24tdb: cleanup: tdb_release_extra_locks() helperRusty Russell3-17/+22
2010-02-17tdb: cleanup: tdb_have_extra_locks() helperRusty Russell4-5/+17
2010-02-17tdb: don't suppress the transaction lock because of the allrecord lock.Rusty Russell1-6/+0
2010-02-17tdb: cleanup: tdb_nest_lock/tdb_nest_unlockRusty Russell3-45/+67
2010-02-17tdb: cleanup: rename global_lock to allrecord_lock.Rusty Russell5-29/+29
2010-02-17tdb: cleanup: rename GLOBAL_LOCK to OPEN_LOCK.Rusty Russell3-17/+17
2010-02-24tdb: make _tdb_transaction_cancel static.Rusty Russell2-2/+1
2010-02-17tdb: cleanup: split brlock and brunlock methods.Rusty Russell7-117/+235
2010-02-22Spelling fixes for tdb.Brad Hards2-2/+2
2010-02-13tdb: use fdatasync() instead of fsync() in transactionsAndrew Tridgell1-1/+1
2010-02-13tdb: Apply some const, just for clarityVolker Lendecke1-1/+1
2010-02-10tdb: fix recovery reuse after crashRusty Russell1-4/+10
2010-02-10tdb: give a name to the invalid recovery area constant (0)Rusty Russell3-4/+5
2010-02-01tdb: fix an early release of the global lock that can cause data corruptionVolker Lendecke1-5/+10
2009-11-20tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behaviorStefan Metzmacher3-3/+58
2009-11-20New attempt at TDB transaction nesting allow/disallow.Ronnie Sahlberg1-0/+11
2009-11-20tdb: always set tdb->tracefd to -1 to be safe on goto failStefan Metzmacher1-4/+3
2009-11-08tdb: Fix a C++ warningVolker Lendecke1-1/+2
2009-10-29tdb: reset tdb->fd to -1 in tdb_close()Kirill Smelkov1-1/+3
2009-10-25tdb: detect tdb store of identical records and skipAndrew Tridgell1-0/+20
2009-10-23tdb: rename 'struct list_struct' into 'struct tdb_record'Stefan Metzmacher9-54/+54
2009-10-22lib/tdb: add tdb_check()Rusty Russell1-0/+422
2009-10-22lib/tdb: wean off TDB_ERRCODE.Rusty Russell8-38/+59
2009-10-22lib/tdb: TDB_TRACE support (for developers)Rusty Russell6-55/+356
2009-09-15tdb: allow reads after prepare commitAndrew Tridgell1-8/+0
2009-09-07tdb: fix c++ build warning.Günther Deschner1-2/+2
2009-08-28lib/tdb: don't overwrite TDBs with different version numbers.Rusty Russell1-5/+7
2009-08-06Add define guards around otherwise unused variable.Jeremy Allison1-0/+3
2009-08-06There is one signedness issue in tdb which prevents traverses of TDB recordsRusty Russell1-9/+21
2009-07-31tdb: don't alter tdb->flags in tdb_reopen_all()Rusty Russell1-6/+13
2009-07-31tdb: Reimplementation of Metze's "lib/tdb: if we know pwrite and pread are th...Rusty Russell1-5/+10
2009-07-31tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe tdb_re...Rusty Russell1-5/+0
2009-07-30realloc() has that horrible overloaded free semantic when size is 0:Rusty Russell1-2/+7
2009-07-30If the record is at the end of the database, pretending it has length 1Rusty Russell1-4/+1
2009-07-21tdb: fix locking errorRusty Russell1-1/+1