tdb_compat: respect TDB_NO_FSYNC environment variable for tdb2.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Jun 2011 09:10:34 +0000 (18:40 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Jun 2011 10:32:08 +0000 (12:32 +0200)
commit580fedc321d0a7a11454ad633736101050ef13df
tree49580e11745e83e8868f41caf81c3bcef0daaa73
parent985e83ef520da68a60899f0ad977cb28a77b8cbe
tdb_compat: respect TDB_NO_FSYNC environment variable for tdb2.

I don't think this kind of hack belongs in the tdb2 source, but SAMBA uses
it to speed testing, so we should respect it: handle it in our compat
open wrapper.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Jun 20 12:32:08 CEST 2011 on sn-devel-104
lib/tdb_compat/tdb_compat.c