Re: pg_test_fsync problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_test_fsync problem
Дата
Msg-id 29890.1295747735@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_test_fsync problem  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_test_fsync problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Jan 22, 2011 at 2:46 AM, Vladimir Kokovic
> <vladimir.kokovic@gmail.com> wrote:
>> Something is wrong with contrib/pg_test_fsync on Ubuntu 10.10 maverick.

> What, specifically, is wrong?

He's complaining that it dies with EINVAL.

I notice that (1) it's using O_DIRECT even though the printout claims
otherwise, and (2) it's writing from a buffer that has no better than
char alignment, which is certainly not OK for O_DIRECT.  Either one
of those could plausibly result in EINVAL ...
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: auto-sizing wal_buffers
Следующее
От: Robert Haas
Дата:
Сообщение: Re: READ ONLY fixes