On Sat, 17 Feb 2001, Tom Lane wrote:

> Another thing I am wondering about is why we're not using fdatasync(),
> where available, instead of fsync().  The whole point of preallocating
> the WAL files is to make fdatasync safe, no?

Linux/x86 fdatasync(2) manpage:

BUGS
       Currently (Linux 2.0.23) fdatasync is equivalent to fsync.


-- 
Dominic J. Eidson
                                        "Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/              http://www.the-infinite.org/~dominic/

Reply via email to