make TDB_NOSYNC affect all the fsync/msync calls in transactions
commit4b4fec65db4e202afa13b2d15867f4d8a54d154e
authorAndrew Tridgell <tridge@samba.org>
Thu, 28 May 2009 06:08:28 +0000 (28 16:08 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 28 May 2009 06:08:28 +0000 (28 16:08 +1000)
tree170670eff8995c25fdfcb77c4fb987951d18c2e4
parenta9542ba21b4d4ef088ac2cf31f9f4074dc211aa8
make TDB_NOSYNC affect all the fsync/msync calls in transactions

During a transaction commit tdb normally uses fsync/msync calls to
make it crash safe. This can be disabled using the TDB_NOSYNC flag,
but it wasn't disabling all the code paths that caused a fsync/msync.
lib/tdb/common/transaction.c