From: | Melanie Plageman <melanieplageman(at)gmail(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add maintenance_io_concurrency flag to some read stream users |
Date: | 2025-04-28 18:20:46 |
Message-ID: | E1u9T5y-0002qW-2L@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | David E. Wheeler | 2025-04-28 20:49:23 | Re: extension_control_path and "directory" |
Previous Message | Peter Geoghegan | 2025-04-28 16:50:00 | pgsql: Fix obsolete nbtree array advancement comment. |