pgsql: Report time spent in posix_fallocate() as a wait event. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Report time spent in posix_fallocate() as a wait event.
Date
Msg-id E1ixNyb-0003tp-U2@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: In jsonb_plpython.c, suppress warning message from gcc 10.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix typo in recently-added TAP test for replication slots