pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yilin Zhang <jiezhilove@126.com>
To: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: aio: Don't silently drop wait_event_info
Date: Thu, 20 Aug 2026 19:32:00 +0800 (CST)
Message-ID: <287d6970.7233.1a01ef13a3c.Coremail.jiezhilove@126.com> (raw)
In-Reply-To: <CAN55FZ0Vo4JD2Ya52Q_Za+T9eSvcBpFDRV9ezi6b9B6N_robJQ@mail.gmail.com>
References: <CAN55FZ0Rp+94rdQ-zeTX0sF9H1e4uWZxH8r1cVXZX0swfqww3g@mail.gmail.com>
	<2r5k2bix34uvvd4qw2b66j3g4k6kxtu6kvnkobvv2buj6ycfaf@2blns2sohr7w>
	<CAN55FZ0Vo4JD2Ya52Q_Za+T9eSvcBpFDRV9ezi6b9B6N_robJQ@mail.gmail.com>

At 2026-08-20 18:56:32, "Nazir Bilal Yavuz" <byavuz81@gmail.com> wrote:
>One general place is PgAioHandle, I put wait_event_info into
>PgAioHandle but now its size is increased from 144 to 152. I couldn't
>find a better place, do you have any suggestions?

Hi,
I've reviewed your patch. 
I noticed that under the default io_method=worker, 
asynchronous reads from mdreadv still report AIO_IO_COMPLETION when the backend gets blocked. 
The caller‑supplied wait_event_info is still being ignored.
Is this a problem?


Best regards,

--

Yilin Zhang







view thread (7+ messages)  latest in thread

Message-ID: <287d6970.7233.1a01ef13a3c.Coremail.jiezhilove@126.com>
Permalink:  ../287d6970.7233.1a01ef13a3c.Coremail.jiezhilove@126.com/
Also on:    postgresql.org/message-id/287d6970.7233.1a01ef13a3c.Coremail.jiezhilove@126.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: jiezhilove@126.com, byavuz81@gmail.com, andres@anarazel.de
  Subject: Re: aio: Don't silently drop wait_event_info
  In-Reply-To: <287d6970.7233.1a01ef13a3c.Coremail.jiezhilove@126.com>
  References: <CAN55FZ0Rp+94rdQ-zeTX0sF9H1e4uWZxH8r1cVXZX0swfqww3g@mail.gmail.com> <2r5k2bix34uvvd4qw2b66j3g4k6kxtu6kvnkobvv2buj6ycfaf@2blns2sohr7w> <CAN55FZ0Vo4JD2Ya52Q_Za+T9eSvcBpFDRV9ezi6b9B6N_robJQ@mail.gmail.com> <287d6970.7233.1a01ef13a3c.Coremail.jiezhilove@126.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox