From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert AIO to use the new shmem allocation functions
Date: Sun, 05 Apr 2026 23:27:44 +0000
Message-ID: <E1w9WsZ-0039AE-0u@gemulon.postgresql.org> (raw)
Convert AIO to use the new shmem allocation functions
This replaces the "shmem_size" and "shmem_init" callbacks in the IO
methods table with the same ShmemCallback struct that we now use in
other subsystems
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/58a1573385edb28435913affe626ff7daffba76d
Modified Files
--------------
src/backend/storage/aio/aio_init.c | 112 ++++++++++++++++++------------
src/backend/storage/aio/method_io_uring.c | 38 +++++-----
src/backend/storage/aio/method_worker.c | 84 +++++++++-------------
src/backend/storage/ipc/ipci.c | 2 -
src/include/storage/aio_internal.h | 16 +----
src/include/storage/aio_subsys.h | 3 -
src/include/storage/subsystemlist.h | 3 +
7 files changed, 127 insertions(+), 131 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Convert AIO to use the new shmem allocation functions
In-Reply-To: <E1w9WsZ-0039AE-0u@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox