Re: RE: xlog checkpoint depends on sync() ... seems unsafe

From: "Dominic J(dot) Eidson" <sauron(at)the-infinite(dot)org>
To: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: RE: xlog checkpoint depends on sync() ... seems unsafe
Date: 2001-03-13 04:57:21
Message-ID: Pine.LNX.4.21.0103122251410.15847-100000@morannon.the-infinite.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 12 Mar 2001, Mikheev, Vadim wrote:

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

--
Dominic J. Eidson
"Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/ http://www.the-infinite.org/~dominic/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mikheev, Vadim 2001-03-13 05:13:44 RE: RE: xlog checkpoint depends on sync() ... seems uns afe
Previous Message Tom Lane 2001-03-13 04:48:53 Re: xlog checkpoint depends on sync() ... seems unsafe