]> git.ozlabs.org Git - ccan/commit - ccan/tdb2/private.h
tdb2: move mmap into struct tdb_file
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:21 +0000 (22:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:21 +0000 (22:12 +1030)
commit41e027e11e0b15100e50c14e49aaa4c2b418f431
tree8711fc360111c2901032aab1f920b5a137fc59a9
parent1ad66fedf81fdaf0f07a2b00d6787614c58a23ef
tdb2: move mmap into struct tdb_file

It makes sense to share the mmap between multiple openers.
15 files changed:
ccan/tdb2/check.c
ccan/tdb2/free.c
ccan/tdb2/io.c
ccan/tdb2/lock.c
ccan/tdb2/open.c
ccan/tdb2/private.h
ccan/tdb2/summary.c
ccan/tdb2/tdb.c
ccan/tdb2/test/failtest_helper.h
ccan/tdb2/test/layout.c
ccan/tdb2/test/run-02-expand.c
ccan/tdb2/test/run-30-exhaust-before-expand.c
ccan/tdb2/test/run-add-remove-flags.c
ccan/tdb2/test/run-remap-in-read_traverse.c
ccan/tdb2/transaction.c