pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add maintenance_io_concurrency flag to some read stream users
Date: Mon, 28 Apr 2025 18:20:46 +0000
Message-ID: <E1u9T5y-0002qW-2L@gemulon.postgresql.org> (raw)

Add maintenance_io_concurrency flag to some read stream users

Index vacuuming and [auto]prewarm AIO concurrency should be governed by
maintenance_io_concurrency. As such, pass those read stream users the
READ_STREAM_MAINTENANCE flag which will calculate their read stream
distance with maintenance_io_concurrency instead of
effective_io_concurrency. This was an oversight in the original commits
making those operations use the read stream API.

Discussion: https://postgr.es/m/flat/CAAKRu_aopDxTo4b41Mt_7Zc-z0_ngocrY8SFCCY6Aph1HgwuNw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f132815fd717f26613dcc3888608044eac91a7ac

Modified Files
--------------
contrib/pg_prewarm/autoprewarm.c      | 3 ++-
contrib/pg_prewarm/pg_prewarm.c       | 3 ++-
src/backend/access/gist/gistvacuum.c  | 3 ++-
src/backend/access/nbtree/nbtree.c    | 3 ++-
src/backend/access/spgist/spgvacuum.c | 3 ++-
5 files changed, 10 insertions(+), 5 deletions(-)



Message-ID: <E1u9T5y-0002qW-2L@gemulon.postgresql.org>
Permalink:  ../E1u9T5y-0002qW-2L@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1u9T5y-0002qW-2L@gemulon.postgresql.org

 · 

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: pgsql-committers@postgresql.org
  Cc: melanieplageman@gmail.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add maintenance_io_concurrency flag to some read stream users
  In-Reply-To: <E1u9T5y-0002qW-2L@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