Re: Allowing WAL fsync to be done via O_SYNC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allowing WAL fsync to be done via O_SYNC
Date: 2001-03-16 16:59:43
Message-ID: 25146.984761983@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM> writes:
> I was wondering if the multiple writes performed to the
> XLOG could be grouped into one write().
>>
>> That would require fairly major restructuring of xlog.c, which I don't

> Restructing? Why? It's only XLogWrite() who make writes.

I was thinking of changing the data structure. I guess you could keep
the data structure the same and make XLogWrite more complicated, though.

>> I think it probably is a good idea to restructure xlog.c so
>> that it can write more than one page at a time --- but it's
>> not such a great idea that I want to hold up the release any
>> more for it.

> Agreed.

Yes, to-do item for 7.2.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug McNaught 2001-03-16 17:03:46 Re: ["Stephen C. Tweedie" <sct@redhat.com>] Re: O_DSYNC flag for open
Previous Message Mikheev, Vadim 2001-03-16 16:55:24 RE: Allowing WAL fsync to be done via O_SYNC