Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open
Date
Msg-id 24801.984758153@sss.pgh.pa.us
Whole thread Raw
In response to ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open  (Doug McNaught <doug@wireboard.com>)
Responses Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open  (Giles Lean <giles@nemeton.com.au>)
List pgsql-hackers
Doug McNaught <doug@wireboard.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AW: Allowing WAL fsync to be done via O_SYNC
Next
From: Tom Lane
Date:
Subject: Re: Re[4]: Allowing WAL fsync to be done via O_SYNC