Lines Matching refs:fdatasync
37418 ** We do not trust systems to provide a working fdatasync(). Some do.
37420 ** fsync(). If you know that your system does support fdatasync() correctly,
37421 ** then simply compile with -Dfdatasync=fdatasync or -DHAVE_FDATASYNC
37423 #if !defined(fdatasync) && !HAVE_FDATASYNC
37424 # define fdatasync fsync
37454 ** Ted Ts'o tells us that fdatasync() will also write the inode if the
37455 ** file size has changed. The only real difference between fdatasync()
37456 ** and fsync(), Ted tells us, is that fdatasync() will not flush the
37459 ** as far as SQLite is concerned, an fdatasync() is always adequate.
37460 ** So, we always use fdatasync() if it is available, regardless of
37517 /* fdatasync() on HFS+ doesn't yet flush the file size if it changed correctly
37518 ** so currently we default to the macro that redefines fdatasync to fsync
37522 rc = fdatasync(fd);