aio, bufmgr: Comment fixes/improvements
authorAndres Freund <andres@anarazel.de>
Sat, 29 Mar 2025 18:45:42 +0000 (14:45 -0400)
committerAndres Freund <andres@anarazel.de>
Sat, 29 Mar 2025 18:45:42 +0000 (14:45 -0400)
commit08ccd56ac765496a152ba50cf0ae743c39396f52
treefd044b7ad303e9fb90ef956d9d38206ec193b610
parent50cb7505b3010736b9a7922e903931534785f3aa
aio, bufmgr: Comment fixes/improvements

Some of these comments have been wrong for a while (12f3867f5534), some I
recently introduced (da7226993fd55b454d0e14). 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@leadboat.com>
Discussion: https://postgr.es/m/20250319212530.80.nmisch@google.com
src/backend/postmaster/postmaster.c
src/backend/storage/buffer/bufmgr.c
src/include/storage/aio.h
src/include/storage/aio_internal.h