Re: O_DIRECT on macOS

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: O_DIRECT on macOS
Дата
Msg-id CA+hUKG+u12tTA3+6R4i-F1A0we3A=LEEwvb_pzM14gpLa5CXOQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: O_DIRECT on macOS  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
On Mon, May 31, 2021 at 4:19 AM Justin Pryzby <pryzby@telsasoft.com> wrote:
> Should there be an "else" to warn/error in the case that "direct" is requested
> but not supported?

The way we use O_DIRECT currently is extremely minimal, it's just "if
you've got it, we'll use it, but otherwise not complain", and I wasn't
trying to change that yet, but you're right that if we add explicit
GUCs to turn on direct I/O for WAL and data files we should definitely
not let you turn them on if we can't do it.



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: O_DIRECT on macOS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgres_fdw batching vs. (re)creating the tuple slots