mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
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
This commit is contained in:
@ -1296,6 +1296,11 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
|
||||
<entry><literal>CopyFileWrite</literal></entry>
|
||||
<entry>Waiting for a write during a file copy operation.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>DSMAllocate</literal></entry>
|
||||
<entry>Waiting for a dynamic shared memory segment to be
|
||||
allocated.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>DSMFillZeroWrite</literal></entry>
|
||||
<entry>Waiting to fill a dynamic shared memory backing file with
|
||||
|
Reference in New Issue
Block a user