Add maintenance_io_concurrency flag to some read stream users

Melanie Plageman <melanieplageman@gmail.com>

Commit: f132815fd717f26613dcc3888608044eac91a7ac
Author: Melanie Plageman <melanieplageman@gmail.com>
Date: 2025-04-28T18:19:45Z
Releases: 18.0
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

Files

Discussion

Cited messages not in the archive: flat/CAAKRu_aopDxTo4b41Mt_7Zc-z0_ngocrY8SFCCY6Aph1HgwuNw@mail.gmail.com