Re: initdb and fsync

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: initdb and fsync
Дата
Msg-id 1332730776.8251.93.camel@jdavis
обсуждение исходный текст
Ответ на Re: initdb and fsync  (Cédric Villemain <cedric@2ndquadrant.com>)
Ответы Re: initdb and fsync
Список pgsql-hackers
On Sat, 2012-03-17 at 17:48 +0100, Cédric Villemain wrote:
> I agree with Andres.
>
>
> I believe we should use sync_file_range (_before?) with linux.
>
> And we can use posix_fadvise_dontneed on other kernels.
>
OK, updated patch attached. sync_file_range() is preferred,
posix_fadvise() is a fallback.

Regards,
    Jeff Davis

Вложения

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

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Re: patch for parallel pg_dump
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Command Triggers, v16