Re: pg_stat_io not tracking smgrwriteback() is confusing

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: "Jonathan S. Katz" <jkatz@postgresql.org>
Cc: Melanie Plageman <melanieplageman@gmail.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@postgresql.org, amit.kapila16@gmail.com, alvherre@alvh.no-ip.org
Date: 2023-05-04T16:46:54Z
Lists: pgsql-hackers
Hi,

On 2023-05-03 11:36:10 -0400, Jonathan S. Katz wrote:
> It'd be good if we can get this into Beta 1 if everyone is comfortable with
> the patch.

I think we need one more iteration, then I think it can be committed. The
changes are docs phrasing and polishing the API a bit, which shouldn't be too
hard.  I'll try to look more tomorrow.

Greetings,

Andres Freund



Commits

  1. Add writeback to pg_stat_io

  2. Update parameter name context to wb_context

  3. Use BUFFER_USAGE_LIMIT to reduce needed test table size