pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Create a distinct wait event for POSIX DSM allocation.
Date: Thu, 14 Jul 2022 12:00:34 +0000
Message-ID: <E1oBxWD-00086d-K0@gemulon.postgresql.org> (raw)

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

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(-)



Message-ID: <E1oBxWD-00086d-K0@gemulon.postgresql.org>
Permalink:  ../E1oBxWD-00086d-K0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oBxWD-00086d-K0@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Create a distinct wait event for POSIX DSM allocation.
  In-Reply-To: <E1oBxWD-00086d-K0@gemulon.postgresql.org>
  References: <E1oBxWD-00086d-K0@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox