pgsql: aio, bufmgr: Comment fixes/improvements

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: aio, bufmgr: Comment fixes/improvements
Date: 2025-03-29 18:57:00
Message-ID: E1tybMa-001dDO-1e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

aio, bufmgr: Comment fixes/improvements

Some of these comments have been wrong for a while (12f3867f5534), some I
recently introduced (da7226993fd, 55b454d0e14). This includes an update to a
comment in FlushBuffer(), which will be copied in a future commit.

These changes seem big enough to be worth doing in separate commits.

Suggested-by: Noah Misch <noah(at)leadboat(dot)com>
Discussion: https://postgr.es/m/20250319212530.80.nmisch@google.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/08ccd56ac765496a152ba50cf0ae743c39396f52

Modified Files
--------------
src/backend/postmaster/postmaster.c | 2 +-
src/backend/storage/buffer/bufmgr.c | 10 ++++------
src/include/storage/aio.h | 2 +-
src/include/storage/aio_internal.h | 22 +++++++++++++++++++++-
4 files changed, 27 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2025-03-29 20:50:59 pgsql: localbuf: Track pincount in BufferDesc as well
Previous Message Andres Freund 2025-03-29 18:08:45 pgsql: Fix mis-attribution of checksum failure stats to the wrong datab