- 29 Jul, 2009 3 commits
-
-
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 8 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Joey Adams authored
-
Rusty Russell authored
-
Rusty Russell authored
-
- 17 Jul, 2009 7 commits
-
-
Rusty Russell authored
struct op: serial -> seqnum (and drop use of term "serial" everywhere). struct op: op -> type struct op_desc: general replacement for file/op_num pair. Change add_dependency to take two const op_desc *: means reshuffle since we can't adjust the args any more.
-
Rusty Russell authored
Add handling of reduced test cases (traverse lines trimmed), and add all the test cases I've been using.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
- 16 Jul, 2009 10 commits
-
-
Joey Adams authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
This has proven to be intractible: various attempts to eliminate have failed, so detect at runtime and cease the traversal (and do the remaining ops outside a traverse).
-
Rusty Russell authored
-
- 15 Jul, 2009 7 commits
-
-
Joey Adams authored
-
Joey Adams authored
-
Rusty Russell authored
-
Rusty Russell authored
Note: we can still deadlock on traversal vs transaction corner cases. We handle transactions as single operation, which it logically is.
-
Joey Adams authored
-
Rusty Russell authored
If we do the trace inside the lock, we show the actual sequence number when the transaction started.
-
Rusty Russell authored
Also changes first member of transaction to have valid start_group field, and fix outdated comment.
-