Re: Allowing WAL fsync to be done via O_SYNC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allowing WAL fsync to be done via O_SYNC
Дата
Msg-id 25146.984761983@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Allowing WAL fsync to be done via O_SYNC  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
Список 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 по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: Re[4]: Allowing WAL fsync to be done via O_SYNC
Следующее
От: "Mikheev, Vadim"
Дата:
Сообщение: RE: Re[4]: Allowing WAL fsync to be done via O_SYNC