Re: [PATCHES] [PERFORM] Direct I/O issues

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: [PATCHES] [PERFORM] Direct I/O issues
Дата
Msg-id Pine.GSO.4.64.0611250357070.29486@westnet.com
обсуждение исходный текст
Список pgsql-hackers
On Fri, 24 Nov 2006, Bruce Momjian wrote:

> OK, I modified test_fsync.c by copying the defines from xlog.c, and
> fixed the O_DIRECT alignment and check write()/fsync().

I just tested your new test_fsync as included in the 8.2rc1, and it's 
working perfectly for me now on Linux.  All the O_SYNC writes using 
O_DIRECT are reporting realistic timings.  I'm happy that this code is 
working as it should and appreciate the quick response.  I still think the 
wal_sync_method documentation deserves an update noting that O_DIRECT is 
used when available with the sync write methods.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: First Release Candidate Uploaded ...
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: First Release Candidate Uploaded ...