From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Create a distinct wait event for POSIX DSM allocation. |
Date: | 2022-07-14 12:00:34 |
Message-ID: | E1oBxWD-00086d-K0@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)anarazel(dot)de>
Discussion: https://postgr.es/m/20220711174518.yldckniicknsxgzl%40awork3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7bae3bbf62d63cdd49ae4ca4a851cef0cdbe6ab5
Modified Files
--------------
doc/src/sgml/monitoring.sgml | 5 +++++
src/backend/storage/ipc/dsm_impl.c | 2 +-
src/backend/utils/activity/wait_event.c | 3 +++
src/include/utils/wait_event.h | 1 +
4 files changed, 10 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2022-07-14 12:01:02 | pgsql: Block signals while allocating DSM memory. |
Previous Message | Peter Eisentraut | 2022-07-14 10:05:13 | Re: pgsql: Avoid unsatisfied-external-reference errors in static inlines. |