pgsql: Report time spent in posix_fallocate() as a wait event.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Report time spent in posix_fallocate() as a wait event.
Date: 2020-01-31 04:32:17
Message-ID: E1ixNyb-0003tp-U2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Report time spent in posix_fallocate() as a wait event.

When allocating DSM segments with posix_fallocate() on Linux (see commit
899bd785), report this activity as a wait event exactly as we would if
we were using file-backed DSM rather than shm_open()-backed DSM.

Author: Thomas Munro
Discussion: https://postgr.es/m/CA%2BhUKGKCSh4GARZrJrQZwqs5SYp0xDMRr9Bvb%2BHQzJKvRgL6ZA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ef02fb15a35ab7bd74a79afebf35572ed82b5e9f

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-01-31 04:59:43 pgsql: Fix typo in recently-added TAP test for replication slots
Previous Message Tom Lane 2020-01-30 23:26:31 pgsql: In jsonb_plpython.c, suppress warning message from gcc 10.