ntdb: still prepare recovery area with NTDB_NOSYNC.
commit6d5a3e1602a1db8ca8e778f5e4f40bb623dff1e7
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Jun 2012 03:09:33 +0000 (19 12:39 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Jun 2012 03:38:06 +0000 (19 05:38 +0200)
tree96559bfc875647ff804da05d22fc677b8cafe7d8
parent89b0d5ac6cd7f2c47148a9ac87ce8d6aea40050b
ntdb: still prepare recovery area with NTDB_NOSYNC.

NTDB_NOSYNC now just prevents the fsync/msync calls, which speeds
testing while still providing full coverage.  It also provides safety
against processes dying during transaction commit (though obviously,
not against the machine dying).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/ntdb/transaction.c