1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/tdb/common
Rusty Russell 1783fe3443 tdb: make TDB_NOSYNC merely disable sync.
(As suggested by Stefan Metzmacher, based on the change to ntdb.)

Since commit ec96ea690e, we handle the case
where a process dies during a transaction commit.  Unfortunately, TDB_NOSYNC
means this no longer works, as it disables the recovery area as well as the
actual msync/fsync.  We should do everything except the syncs.

This also means we can do a complete test with $TDB_NO_FSYNC set; just
to get more complete coverage, we disable it explicitly for one test
(where we override the actual sync calls anyway).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-22 07:35:17 +02:00
..
check.c tdb: be more careful on 4G files. 2011-12-19 07:52:01 +01:00
dump.c tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898) 2010-10-21 11:47:22 +00:00
error.c tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898) 2010-10-21 11:47:22 +00:00
freelist.c tdb: be more careful on 4G files. 2011-12-19 07:52:01 +01:00
freelistcheck.c tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898) 2010-10-21 11:47:22 +00:00
hash.c tdb: enable VALGRIND to remove valgrind noise. 2011-06-08 11:05:47 +02:00
io.c lib/tdb: fix transaction issue for HAVE_INCOHERENT_MMAP. 2012-03-23 02:53:15 +01:00
lock.c lib/tdb: Add/expose lock functions to support CTDB 2012-03-29 20:07:03 +10:30
open.c lib/tdb: fix OpenBSD incoherent mmap. 2012-03-22 01:57:37 +01:00
summary.c tdb: make sure we skip over recovery area correctly. 2011-04-19 14:15:22 +02:00
tdb_private.h lib/tdb: fix OpenBSD incoherent mmap. 2012-03-22 01:57:37 +01:00
tdb.c Fix compile when TDB_TRACE is enabled. 2012-01-06 04:16:41 +01:00
transaction.c tdb: make TDB_NOSYNC merely disable sync. 2012-06-22 07:35:17 +02:00
traverse.c tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898) 2010-10-21 11:47:22 +00:00