Re: Potential "AIO / io workers" inter-worker locking issue in PG18?
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Marco Boeringa <marco@boeringa.demon.nl>
Cc: Thom Brown <thom@linux.com>, pgsql-bugs@lists.postgresql.org
Date: 2025-10-06T14:20:22Z
Lists: pgsql-bugs
Hi, On 2025-10-05 22:22:32 +0200, Marco Boeringa wrote: > I realized that my observation of the pg_aios view being empty was likely > with the "io_method = sync" option set, which I guess doesn't use or fill > the pg_aios view? Can you confirm the pg_aios view is unused with "io_method > = sync", this aspect is not documented in the PostgreSQL help? Anyway, I > will need to re-test with 'worker' set. pg_aios is populated even with io_method = sync, albeit with at most one entry entry per backend. If there were no entries in pg_aios at the time of your hang, it doesn't seem likely - although not impossible - for AIO to be responsible. Greetings, Andres Freund