Re: WAL and commit_delay - Mailing list pgsql-hackers

From Dominic J. Eidson
Subject Re: WAL and commit_delay
Date
Msg-id Pine.LNX.4.21.0102171703510.19320-100000@morannon.the-infinite.org
Whole thread Raw
In response to Re: WAL and commit_delay  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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/



pgsql-hackers by date:

Previous
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: WAL and commit_delay
Next
From: Matthew Kirkwood
Date:
Subject: Linux 2.2 vs 2.4