fsync vs fdatasync

From: mlw <markw(at)mohawksoft(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: fsync vs fdatasync
Date: 2001-06-10 17:38:50
Message-ID: 3B23B0AA.FA104C8C@mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew Kirkwood 2001-06-10 18:58:30 Re: fsync vs fdatasync
Previous Message Alex Pilosov 2001-06-10 16:44:51 Re: inet type/merge joins