Обсуждение: pgsql: Report time spent in posix_fallocate() as a wait event.

Поиск
Список
Период
Сортировка

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

От
Thomas Munro
Дата:
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(+)