- 12 Sep, 2009 1 commit
-
-
Rusty Russell authored
More sophisticated skipping: skip dependencies when one fails as well. Allow tests to change their total_score; only access it after running (other than to check it's non-zero).
-
- 08 Sep, 2009 4 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
- 19 Aug, 2009 2 commits
-
-
Rusty Russell authored
This bug was introduced in "Wean off TDB_ERRCODE.".
-
Rusty Russell authored
Despite the name, they're simple byte locks, not whole-file.
-
- 18 Aug, 2009 4 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
Explicitly split lock and unlock, for future replacement with user-supplied functions. Use explicit flags enum for marking, blocking and probing. Indicate upon unlock whether we had a read or write lock (POSIX doesn't care, but wrappers might, and it's nice to be explicit).
-
Rusty Russell authored
-
- 11 Aug, 2009 5 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
ie. f1c6f7dd47bb1081781c0a0d567a92bbbc0aa5d5 (Revert "add TDB_NO_NESTING...") and 3e49e41c21eb8c53084aa8cc7fd3557bdd8eb7b6 (New attempt at TDB transaction nesting allow/disallow).
-
- 05 Aug, 2009 1 commit
-
-
Rusty Russell authored
In future, this may happen, and we don't want to clobber them.
-
- 04 Aug, 2009 4 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
It was a regrettable hack 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. Also, we should never set errno, as io.c was doing.
-
Rusty Russell authored
-
- 29 Jul, 2009 10 commits
-
-
Rusty Russell authored
commit a6cc04a20089e8fbcce138c271961c37ddcd6c34 Author: Andrew Tridgell <tridge@samba.org> Date: Mon Jun 1 13:13:07 2009 +1000 overallocate all records by 25% 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.
-
Rusty Russell authored
commit a386173fa1c7c5bcc11ea9260d84b6c52c154b3d Author: Andrew Tridgell <tridge@samba.org> Date: Mon Jun 1 13:11:39 2009 +1000 auto-repack in transactions that expand the tdb The idea behind this is to recover from badly fragmented free lists. Choosing the point where the file expands is fairly arbitrary, but seems to work well.
-
Rusty Russell authored
commit 936d76802f98d04d9743b2ca8eeeaadd4362db51 Author: Andrew Tridgell <tridge@samba.org> Date: Tue Dec 16 14:38:17 2008 +1100 imported the tdb_repack() code from CTDB The tdb_repack() function repacks a TDB so that it has a single freelist entry. The file doesn't shrink, but it does remove all freelist fragmentation. This code originated in the CTDB vacuuming code, but will now be used in ldb to cope with fragmentation from re-indexing
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
commit 4b4fec65db4e202afa13b2d15867f4d8a54d154e Author: Andrew Tridgell <tridge@samba.org> Date: Thu May 28 16:08:28 2009 +1000 make TDB_NOSYNC affect all the fsync/msync calls in transactions During a transaction commit tdb normally uses fsync/msync calls to make it crash safe. This can be disabled using the TDB_NOSYNC flag, but it wasn't disabling all the code paths that caused a fsync/msync.
-
Rusty Russell authored
commit a91bcbccf8a2243dac57cacec6fdfc9907580f69 Author: Jim McDonough <jmcd@samba.org> Date: Thu May 21 16:26:26 2009 -0400 Detect tight loop in tdb_find()
-
Rusty Russell authored
commit b90863c0b7b860b006ac49c9396711ff351f777f Author: Howard Chu <hyc@highlandsun.com> Date: Tue Mar 31 13:15:54 2009 +1100 Add tdb_transaction_prepare_commit() Using tdb_transaction_prepare_commit() gives us 2-phase commits. This allows us to safely commit across multiple tdb databases at once, with reasonable transaction semantics Signed-off-by: tridge@samba.org
-
- 25 Jul, 2009 1 commit
-
-
Rusty Russell authored
-
- 21 Jul, 2009 2 commits
-
-
Rusty Russell authored
Also, actually test locking, rather than just lock count (bit me in samba fix)
-
Joey Adams authored
-
- 20 Jul, 2009 1 commit
-
-
Rusty Russell authored
-
- 19 Jul, 2009 1 commit
-
-
Rusty Russell authored
-
- 18 Jul, 2009 4 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-