[PATCH] buffile: ensure start offset is aligned with BLCKSZ

Поиск
Список
Период
Сортировка
От Sasasu
Тема [PATCH] buffile: ensure start offset is aligned with BLCKSZ
Дата
Msg-id a859a753-70f2-bb17-6830-19dbcad11c17@sasa.su
обсуждение исходный текст
Ответы Re: [PATCH] buffile: ensure start offset is aligned with BLCKSZ  (Antonin Houska <ah@cybertec.at>)
Список pgsql-hackers
Hi hackers,

there are a very long discuss about TDE, and we agreed on that if the
temporary file I/O can be aligned to some fixed size, it will be easier
to use some kind of encryption algorithm.

discuss:
https://www.postgresql.org/message-id/20211025155814.GD20998%40tamriel.snowman.net

This patch adjust file->curOffset and file->pos before the real IO to
ensure the start offset is aligned.
Вложения

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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: enhance pg_log_backend_memory_contexts() to log memory contexts of auxiliary processes
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: [Proposal] Add foreign-server health checks infrastructure