Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vkUYm-00G8d1-1n for pgsql-general@arkaria.postgresql.org; Mon, 26 Jan 2026 21:55:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vkUYk-00AqhO-1Y for pgsql-general@arkaria.postgresql.org; Mon, 26 Jan 2026 21:55:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vkUYk-00AqhG-0R for pgsql-general@lists.postgresql.org; Mon, 26 Jan 2026 21:55:46 +0000 Received: from smtp121.ord1d.emailsrvr.com ([184.106.54.121]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vkUYh-002SXF-2y for pgsql-general@postgresql.org; Mon, 26 Jan 2026 21:55:45 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp8.relay.ord1d.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id AFC87C0261 for ; Mon, 26 Jan 2026 16:55:43 -0500 (EST) From: Christophe Pettus Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.8\)) Subject: AioIoCompletion with io_worker = sync? Message-Id: Date: Mon, 26 Jan 2026 13:55:42 -0800 To: pgsql-general X-Mailer: Apple Mail (2.3776.700.51.11.8) X-Classification-ID: 285203fc-4ba5-4c60-abf0-b12b3a97244b-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk We're seeing IO:AioIoCompletion events on a system with io_worker =3D = sync. Tracing through the code, it's not clear to me that it should = ever hit that wait event if io_worker =3D sync, or does it get hit even = in the io_worker =3D sync case?=