fsync vs fdatasync - Mailing list pgsql-hackers

From mlw
Subject fsync vs fdatasync
Date
Msg-id 3B23B0AA.FA104C8C@mohawksoft.com
Whole thread Raw
Responses Re: fsync vs fdatasync  (Matthew Kirkwood <matthew@hairy.beasts.org>)
Re: fsync vs fdatasync  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Is there any reason to EVER call pg_fsync?

What would happen if we always called pg_fdatasync?

Just curious, is there a reason why we would always want the meta data updated
for each block update? Does postgres use it? Wouldn't the replacement of fsync
with fdatasync increase performance on all platforms which support the
difference?

Are there any reasons not to?


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: inet type/merge joins
Next
From: Matthew Kirkwood
Date:
Subject: Re: fsync vs fdatasync