Create a distinct wait event for POSIX DSM allocation.
Thomas Munro <tmunro@postgresql.org>
Create a distinct wait event for POSIX DSM allocation. Previously we displayed "DSMFillZeroWrite" while in posix_fallocate(), because we shared the same wait event for "mmap" and "posix" DSM types. Let's introduce a new wait event "DSMAllocate", to be more accurate. Reported-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/20220711174518.yldckniicknsxgzl%40awork3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +5 −0 |
| src/backend/storage/ipc/dsm_impl.c | modified | +1 −1 |
| src/backend/utils/activity/wait_event.c | modified | +3 −0 |
| src/include/utils/wait_event.h | modified | +1 −0 |
Documentation touched
Discussion
- EINTR in ftruncate() 32 messages · 2022-07-01 → 2022-11-09