tdb: expose transaction lock infrastructure for ctdb
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Jan 2011 00:17:11 +0000 (10:47 +1030)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 18 Jan 2011 02:26:41 +0000 (13:26 +1100)
tdb_traverse_read() grabs the transaction lock.  This can cause ctdbd
(which uses it) to block when it should not; expose mark and normal
variants of this lock, so ctdbd's child (the recovery daemon) can
acquire it and the ctdbd parent can mark it was held.


No differences found