RE: RE: xlog checkpoint depends on sync() ... seems uns afe - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: RE: xlog checkpoint depends on sync() ... seems uns afe
Date
Msg-id 8F4C99C66D04D4118F580090272A7A234D3317@sectorbase1.sectorbase.com
Whole thread Raw
Responses Re: RE: xlog checkpoint depends on sync() ... seems uns afe
List pgsql-hackers
> > to re-write smgr. I don't know how useful is second sync() call, but
> > on Solaris (and I believe on many other *NIXes) rc0 calls it
> > three times, -:) Why?
> 
> The idea is, that by the time the last sync has run, the 
> first sync will be done flushing the buffers to disk. - this is what
> we were told by the IBM engineers when I worked tier-2/3 AIX support
> at IBM.

I was told the same a long ago about FreeBSD. How much can we count on
this undocumented sync() feature?

Vadim


pgsql-hackers by date:

Previous
From: "Dominic J. Eidson"
Date:
Subject: Re: RE: xlog checkpoint depends on sync() ... seems unsafe
Next
From: Tom Lane
Date:
Subject: Re: RE: xlog checkpoint depends on sync() ... seems uns afe