Improve conditional compilation for direct I/O alignment checks

From: Junwang Zhao <zhjwpku(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Improve conditional compilation for direct I/O alignment checks
Date: 2024-05-26 07:16:19
Message-ID: CAEG8a3J5w053U=O2+4_uxbXuMnmQFFVQef4GveV9QfW0wdeEaw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This patch refactors the alignment checks for direct I/O to preprocess phase,
thereby reducing some CPU cycles.

--
Regards
Junwang Zhao

Attachment Content-Type Size
0001-Improve-conditional-compilation-for-direct-I-O-align.patch application/octet-stream 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2024-05-26 08:10:00 Re: First draft of PG 17 release notes
Previous Message Tom Lane 2024-05-26 04:08:46 Re: Fix an incorrect assertion condition in mdwritev().