Re: Allowing WAL fsync to be done via O_SYNC - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Allowing WAL fsync to be done via O_SYNC
Date
Msg-id 25146.984761983@sss.pgh.pa.us
Whole thread Raw
In response to RE: Allowing WAL fsync to be done via O_SYNC  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
List pgsql-hackers
"Mikheev, Vadim" <vmikheev@SECTORBASE.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


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: Re[4]: Allowing WAL fsync to be done via O_SYNC
Next
From: "Mikheev, Vadim"
Date:
Subject: RE: Re[4]: Allowing WAL fsync to be done via O_SYNC