public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andres Freund <[email protected]>
To: [email protected]
Subject: pgsql: aio: Add test_aio module
Date: Tue, 01 Apr 2025 18:54:58 +0000
Message-ID: <[email protected]> (raw)

aio: Add test_aio module

To make the tests possible, a few functions from bufmgr.c/localbuf.c had to be
exported, via buf_internals.h.

Reviewed-by: Noah Misch <[email protected]>
Co-authored-by: Andres Freund <[email protected]>
Co-authored-by: Nazir Bilal Yavuz <[email protected]>
Discussion: https://postgr.es/m/uvrtrknj4kdytuboidbhwclo4gxhswwcpgadptsjvjqcluzmah%40brqs62irg4dt

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/93bc3d75d8e1aabdc256ff6da2282266dca82537

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c           |    8 +-
src/backend/storage/buffer/localbuf.c         |    3 +-
src/include/storage/buf_internals.h           |    7 +
src/test/modules/Makefile                     |    1 +
src/test/modules/meson.build                  |    1 +
src/test/modules/test_aio/.gitignore          |    2 +
src/test/modules/test_aio/Makefile            |   26 +
src/test/modules/test_aio/meson.build         |   37 +
src/test/modules/test_aio/t/001_aio.pl        | 1503 +++++++++++++++++++++++++
src/test/modules/test_aio/t/002_io_workers.pl |  125 ++
src/test/modules/test_aio/test_aio--1.0.sql   |  108 ++
src/test/modules/test_aio/test_aio.c          |  806 +++++++++++++
src/test/modules/test_aio/test_aio.control    |    3 +
13 files changed, 2622 insertions(+), 8 deletions(-)



view thread (8+ messages)  latest in thread

reply

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: aio: Add test_aio module
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox