pgsql: aio: Rename pgaio_io_prep_* to pgaio_io_start_*

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: aio: Rename pgaio_io_prep_* to pgaio_io_start_*
Date: 2025-03-26 20:34:13
Message-ID: E1txXS1-0019E6-2x@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

aio: Rename pgaio_io_prep_* to pgaio_io_start_*

The old naming pattern (mirroring liburing's naming) was inconsistent with
the (not yet introduced) callers. It seems better to get rid of the
inconsistency now than to grow more users of the odd naming.

Reported-by: Noah Misch <noah(at)leadboat(dot)com>
Discussion: https://postgr.es/m/20250326001915.bc.nmisch@google.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9469d7fdd2bcf2327ad91a1022885953a461942a

Modified Files
--------------
src/backend/storage/aio/aio.c | 16 ++++++++--------
src/backend/storage/aio/aio_callback.c | 2 +-
src/backend/storage/aio/aio_io.c | 24 ++++++++++++------------
src/backend/storage/aio/aio_target.c | 4 ++--
src/include/storage/aio.h | 6 +++---
src/include/storage/aio_internal.h | 4 ++--
6 files changed, 28 insertions(+), 28 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-03-26 23:08:47 pgsql: doc: Mention possible ephemeral discrepancies in pg_stat_activit
Previous Message Robert Haas 2025-03-26 19:55:12 pgsql: pg_overexplain: SET jit=off when running tests.