bufmgr: Make definitions related to buffer descriptor easier to modify
Andres Freund <andres@anarazel.de>
bufmgr: Make definitions related to buffer descriptor easier to modify This is in preparation to widening the buffer state to 64 bits, which in turn is preparation for implementing content locks in bufmgr. This commit aims to make the subsequent commits a bit easier to review, by separating out reformatting etc from the actual changes. Reviewed-by: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://postgr.es/m/4csodkvvfbfloxxjlkgsnl2lgfv2mtzdl7phqzd4jxjadxm4o5@usw7feyb5bzf
Files
| Path | Change | +/− |
|---|---|---|
| src/include/storage/buf_internals.h | modified | +47 −18 |
Discussion
- Buffer locking is special (hints, checksums, AIO writes) 120 messages · 2025-08-22 → 2026-04-03