tdb: use tdb_lockall_gradual by default.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Aug 2010 05:37:16 +0000 (15:07 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Aug 2010 05:37:16 +0000 (15:07 +0930)
commitd3c01870f9592e4e318f305b61ba4470f85daba1
treec4de1f0f8ca381798e16724e91eee1b485783204
parentee9f03894bdeedc4888ff3cd2ddae083e1b65d96
tdb: use tdb_lockall_gradual by default.

This has the advantage the transactions will also use it, preventing them
from blocking.
ccan/tdb/lock.c
ccan/tdb/tdb.h
ccan/tdb/tools/starvation.c