Re: ["Stephen C. Tweedie" <sct@redhat.com>] Re: O_DSYNC flag for open

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Doug McNaught <doug(at)wireboard(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ["Stephen C. Tweedie" <sct@redhat.com>] Re: O_DSYNC flag for open
Date: 2001-03-16 15:55:53
Message-ID: 24801.984758153@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Doug McNaught <doug(at)wireboard(dot)com> forwards:
>> 2.4's O_SYNC actually does a fdatasync internally. This is also the
>> default behaviour of HPUX, which requires you to set a sysctl variable
>> if you want O_SYNC to flush timestamp changes to disk.

Well, that guy might know all about Linux, but he doesn't know anything
about HPUX (at least not any version I've ever run). O_SYNC is
distinctly different from O_DSYNC around here.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-03-16 16:03:21 Re: Re[4]: Allowing WAL fsync to be done via O_SYNC
Previous Message Tom Lane 2001-03-16 15:52:01 Re: AW: Allowing WAL fsync to be done via O_SYNC