Re: 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: Re: Improve conditional compilation for direct I/O alignment checks
Date: 2024-05-26 10:35:10
Message-ID: CAEG8a3L+ugCWNe0spY+3wLeVCCr0YLbLxXaomjrHEK9vKbmO1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, May 26, 2024 at 3:16 PM Junwang Zhao <zhjwpku(at)gmail(dot)com> wrote:
>
> This patch refactors the alignment checks for direct I/O to preprocess phase,
> thereby reducing some CPU cycles.
>
> --
> Regards
> Junwang Zhao

Patch v2 with some additional minor polishment of the comments in `mdwriteback`.

--
Regards
Junwang Zhao

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-05-26 11:07:45 Re: Fix an incorrect assertion condition in mdwritev().
Previous Message Alvaro Herrera 2024-05-26 08:10:00 Re: First draft of PG 17 release notes