Lines Matching refs:fdatasync
33214 ** We do not trust systems to provide a working fdatasync(). Some do.
33216 ** fsync(). If you know that your system does support fdatasync() correctly,
33217 ** then simply compile with -Dfdatasync=fdatasync or -DHAVE_FDATASYNC
33219 #if !defined(fdatasync) && !HAVE_FDATASYNC
33220 # define fdatasync fsync
33250 ** Ted Ts'o tells us that fdatasync() will also write the inode if the
33251 ** file size has changed. The only real difference between fdatasync()
33252 ** and fsync(), Ted tells us, is that fdatasync() will not flush the
33255 ** as far as SQLite is concerned, an fdatasync() is always adequate.
33256 ** So, we always use fdatasync() if it is available, regardless of
33313 /* fdatasync() on HFS+ doesn't yet flush the file size if it changed correctly
33314 ** so currently we default to the macro that redefines fdatasync to fsync
33318 rc = fdatasync(fd);