Re: Large block sizes support in Linux

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Large block sizes support in Linux
Дата
Msg-id CA+hUKGKkk0tLj+1KEuJM_x7ZogGDR8zHMJatWqC0P8ZJvq0VVA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Large block sizes support in Linux  (Pankaj Raghav <kernel@pankajraghav.com>)
Список pgsql-hackers
On Tue, Mar 26, 2024 at 3:34 AM Pankaj Raghav <kernel@pankajraghav.com> wrote:
> One question: Does ZFS do something like FUA request to force the device
> to clear the cache before it can update the node to point to the new page?
>
> If it doesn't do it, there is no guarantee from device to update the data
> atomically unless it has bigger atomic guarantees?

It flushes the whole disk write cache (unless you turn that off).
AFAIK it can't use use FUA instead yet (it knows some things about it,
there are mentions under the Linux-specific parts of the tree but that
may be more to do with understanding and implementing it when
exporting a virtual block device, or something like that (?), but I
don't believe it knows how to use it for its own underlying log or
ordering).  FUA would clearly be better, no waiting for random extra
data to be flushed.



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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: pgsql: Track last_inactive_time in pg_replication_slots.
Следующее
От: David Rowley
Дата:
Сообщение: Re: Why is parula failing?