Re: Managing IO workers in postmaster's state machine

2024-12-13 Thread Cédric Villemain
Hi Andres, Thanks for sharing these detailed questions and insights. Below are some comments and additional thoughts that might help, particularly regarding bgworkers. On 09/12/2024 22:42, Andres Freund wrote: Hi, For AIO, when using the worker process based "AIO", we need to manage a set

Managing IO workers in postmaster's state machine

2024-12-09 Thread Andres Freund
Hi, For AIO, when using the worker process based "AIO", we need to manage a set of workers. These need to be started by postmaster, obviously. I have a few questions about the design details. They seemed mostly independent of the larger AIO thread, so I started this separately. 1) Where to star