Add writeback to pg_stat_io

Andres Freund <andres@anarazel.de>

Commit: 093e5c57d506783a95dd8feddd9a3f2651e1aeba
Author: Andres Freund <andres@anarazel.de>
Date: 2023-05-17T18:18:35Z
Releases: 16.0
Add writeback to pg_stat_io

28e626bde00 added the concept of IOOps but neglected to include writeback
operations. ac8d53dae5 added time spent doing these I/O operations. Without
counting writeback, checkpointer write time in the log often differed
substantially from that in pg_stat_io. To fix this, add IOOp IOOP_WRITEBACK
and track writeback in pg_stat_io.

Bumps catversion.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20230419172326.dhgyo4wrrhulovt6%40awork3.anarazel.de

Files

Documentation touched

Discussion