<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/tdb/docs, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/'/>
<entry>
<title>tdb: add TDB_MUTEX_LOCKING support</title>
<updated>2014-05-22T19:05:15+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2013-02-21T15:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=db5bda56bf089ec6052d92bb78f3b49f7c812e00'/>
<id>db5bda56bf089ec6052d92bb78f3b49f7c812e00</id>
<content type='text'>
This adds optional support for locking based on
shared robust mutexes.

The caller can use the TDB_MUTEX_LOCKING flag
together with TDB_CLEAR_IF_FIRST after verifying
with tdb_runtime_check_for_robust_mutexes() that
it's supported by the current system.

The caller should be aware that using TDB_MUTEX_LOCKING
implies some limitations, e.g. it's not possible to
have multiple read chainlocks on a given hash chain
from multiple processes.

Note: that this doesn't make tdb thread safe!

Pair-Programmed-With: Stefan Metzmacher &lt;metze@samba.org&gt;
Pair-Programmed-With: Michael Adam &lt;obnox@samba.org&gt;
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds optional support for locking based on
shared robust mutexes.

The caller can use the TDB_MUTEX_LOCKING flag
together with TDB_CLEAR_IF_FIRST after verifying
with tdb_runtime_check_for_robust_mutexes() that
it's supported by the current system.

The caller should be aware that using TDB_MUTEX_LOCKING
implies some limitations, e.g. it's not possible to
have multiple read chainlocks on a given hash chain
from multiple processes.

Note: that this doesn't make tdb thread safe!

Pair-Programmed-With: Stefan Metzmacher &lt;metze@samba.org&gt;
Pair-Programmed-With: Michael Adam &lt;obnox@samba.org&gt;
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tdb: Fix some typos in comments.</title>
<updated>2013-09-12T11:54:41+00:00</updated>
<author>
<name>Björn Jacke</name>
<email>bj@sernet.de</email>
</author>
<published>2013-09-12T09:07:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=20999fcaa192517b12eb3334963d58c6fb436ede'/>
<id>20999fcaa192517b12eb3334963d58c6fb436ede</id>
<content type='text'>
Thanks to Stewart A. Levin for reporting.

fixes bug #10136 (Documentation typos).

Signed-off-by: Bjoern Jacke &lt;bj@sernet.de&gt;
Reviewed-by: Karolin Seeger &lt;kseeger@samba.org&gt;

Autobuild-User(master): Karolin Seeger &lt;kseeger@samba.org&gt;
Autobuild-Date(master): Thu Sep 12 13:54:41 CEST 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Stewart A. Levin for reporting.

fixes bug #10136 (Documentation typos).

Signed-off-by: Bjoern Jacke &lt;bj@sernet.de&gt;
Reviewed-by: Karolin Seeger &lt;kseeger@samba.org&gt;

Autobuild-User(master): Karolin Seeger &lt;kseeger@samba.org&gt;
Autobuild-Date(master): Thu Sep 12 13:54:41 CEST 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>tdb: Added doxygen documentation.</title>
<updated>2011-01-19T10:26:34+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2011-01-13T16:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=b42afa0edf375c944d39a888f4db422e8d2b13cf'/>
<id>b42afa0edf375c944d39a888f4db422e8d2b13cf</id>
<content type='text'>
Autobuild-User: Andreas Schneider &lt;asn@samba.org&gt;
Autobuild-Date: Wed Jan 19 11:26:34 CET 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User: Andreas Schneider &lt;asn@samba.org&gt;
Autobuild-Date: Wed Jan 19 11:26:34 CET 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>tdb: If tdb_parse_record does not find a record, return -1 instead of 0</title>
<updated>2010-02-28T16:40:59+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2010-02-27T18:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=fb98f60594b6cabc52d0f2f49eda08f793ba4748'/>
<id>fb98f60594b6cabc52d0f2f49eda08f793ba4748</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior</title>
<updated>2009-11-20T08:45:36+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-11-19T08:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=3b9f19ed919fef2e88b2f92ae541e07bc7379cd1'/>
<id>3b9f19ed919fef2e88b2f92ae541e07bc7379cd1</id>
<content type='text'>
We need to keep TDB_ALLOW_NESTING as default behavior,
so that existing code continues to work.

However we may change the default together with a major version
number change in future.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to keep TDB_ALLOW_NESTING as default behavior,
so that existing code continues to work.

However we may change the default together with a major version
number change in future.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>tdb: update README a bit</title>
<updated>2009-10-28T23:44:34+00:00</updated>
<author>
<name>Kirill Smelkov</name>
<email>kirr@mns.spb.ru</email>
</author>
<published>2009-10-21T17:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=83de5c826313aa09c76131ae70550bd81b3521c5'/>
<id>83de5c826313aa09c76131ae70550bd81b3521c5</id>
<content type='text'>
While studying tdb, I've noticed a couple of mismatches between readme
and actual code:

- tdb_open_ex changed it's log_fn argument to log_ctx
- there is now no tdb_update(), which it seems was transformed into
  non-exported tdb_update_hash()

There were other mismatches, but I don't remember them now, sorry.

Signed-off-by: Kirill Smelkov &lt;kirr@mns.spb.ru&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While studying tdb, I've noticed a couple of mismatches between readme
and actual code:

- tdb_open_ex changed it's log_fn argument to log_ctx
- there is now no tdb_update(), which it seems was transformed into
  non-exported tdb_update_hash()

There were other mismatches, but I don't remember them now, sorry.

Signed-off-by: Kirill Smelkov &lt;kirr@mns.spb.ru&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/tdb: add tdb_check()</title>
<updated>2009-10-21T13:40:34+00:00</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2009-10-21T13:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=022b4d4aa6861c1e3e6d76484d92555221cb6d14'/>
<id>022b4d4aa6861c1e3e6d76484d92555221cb6d14</id>
<content type='text'>
ctdb wants a quick way to detect corrupt tdbs; particularly, tdbs with
loops in their hash chains.  tdb_check() provides this.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ctdb wants a quick way to detect corrupt tdbs; particularly, tdbs with
loops in their hash chains.  tdb_check() provides this.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>lib/tdb: TDB_TRACE support (for developers)</title>
<updated>2009-10-21T13:30:12+00:00</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2009-10-20T01:49:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=703004340c3e0f43f741bd368d2525cfd187d590'/>
<id>703004340c3e0f43f741bd368d2525cfd187d590</id>
<content type='text'>
When TDB_TRACE is defined (in tdb_private.h), verbose tracing of tdb operations is enabled.
This can be replayed using "replay_trace" from http://ccan.ozlabs.org/info/tdb.

The majority of this patch comes from moving internal functions to _&lt;funcname&gt; to
avoid double-tracing.  There should be no additional overhead for the normal (!TDB_TRACE)
case.

Note that the verbose traces compress really well with rzip.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When TDB_TRACE is defined (in tdb_private.h), verbose tracing of tdb operations is enabled.
This can be replayed using "replay_trace" from http://ccan.ozlabs.org/info/tdb.

The majority of this patch comes from moving internal functions to _&lt;funcname&gt; to
avoid double-tracing.  There should be no additional overhead for the normal (!TDB_TRACE)
case.

Note that the verbose traces compress really well with rzip.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tdb_transaction_prepare_commit()</title>
<updated>2009-03-31T02:15:54+00:00</updated>
<author>
<name>Howard Chu</name>
<email>hyc@highlandsun.com</email>
</author>
<published>2009-03-31T02:15:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=b90863c0b7b860b006ac49c9396711ff351f777f'/>
<id>b90863c0b7b860b006ac49c9396711ff351f777f</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Move common libraries from root to lib/.</title>
<updated>2008-09-17T12:11:12+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-09-17T12:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=94855cd69248f0f90b6c828588afa012adc8bd45'/>
<id>94855cd69248f0f90b6c828588afa012adc8bd45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
