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>, pgsql-hackers@postgresql.org, Amit Kapila <amit.kapila16@gmail.com>, Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2023-05-17T19:19:24Z
Lists: pgsql-hackers
Hi,

On 2023-05-16 10:30:27 -0400, Jonathan S. Katz wrote:
> On 5/6/23 1:30 PM, Melanie Plageman wrote:
> 
> > I've done that in the attached v5.
> 
> [RMT hat]
> 
> RMT nudge on this thread, as we're approaching the Beta 1 cutoff. From the
> above discussion, it sounds like it's pretty close to being ready.

Thanks for the nudge. I just pushed the changes, with some very minor changes
(a newline, slight changes in commit messages).

I'll go and mark the item as closed.

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