| От | Tom Lane |
|---|---|
| Тема | Re: pg_test_fsync problem |
| Дата | |
| Msg-id | 373.1295749048@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: pg_test_fsync problem (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pg_test_fsync problem
|
| Список | pgsql-hackers |
I wrote:
> 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 ...
Oh, scratch that: the buffer is properly aligned, it's the length that's
bogus for O_DIRECT. I rather imagine that test_open_sync is meant to be
writing so many kilobytes, not so many bytes.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера