Add maintenance_io_concurrency flag to some read stream users
Melanie Plageman <melanieplageman@gmail.com>
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
| Path | Change | +/− |
|---|---|---|
| contrib/pg_prewarm/autoprewarm.c | modified | +2 −1 |
| contrib/pg_prewarm/pg_prewarm.c | modified | +2 −1 |
| src/backend/access/gist/gistvacuum.c | modified | +2 −1 |
| src/backend/access/nbtree/nbtree.c | modified | +2 −1 |
| src/backend/access/spgist/spgvacuum.c | modified | +2 −1 |
Discussion
Cited messages not in the archive:
flat/CAAKRu_aopDxTo4b41Mt_7Zc-z0_ngocrY8SFCCY6Aph1HgwuNw@mail.gmail.com