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

From Giles Lean
Subject Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open
Date
Msg-id 16573.984779458@nemeton.com.au
Whole thread Raw
In response to Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open  (Giles Lean <giles@nemeton.com.au>)
List pgsql-hackers
[ Drifting off topic ... ]

> 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.

There is a HP_UX kernel flag 'o_sync_is_o_dsync' which will cause
O_DSYNC to be treated as O_SYNC.  It defaults to being off -- it
is/was a backward compatibility "feature" since HP-UX 9.X (which is
history now) had implemented O_SYNC as O_DSYNC.

http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/KCparam.OsyncIsOdsync.html

Regards,

Giles





pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Performance monitor signal handler
Next
From: "Martin A. Marques"
Date:
Subject: Re: problems with startup script on upgrade