Commit ef02fb1
committed
Report time spent in posix_fallocate() as a wait event.
When allocating DSM segments with posix_fallocate() on Linux (see commit
899bd78), 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.com1 parent d061ea2 commit ef02fb1Copy full SHA for ef02fb1
File tree
Expand file treeCollapse file tree
1 file changed
+2
-0
lines changedOpen diff view settings
Filter options
- src/backend/storage/ipc
Expand file treeCollapse file tree
1 file changed
+2
-0
lines changedOpen diff view settings
Collapse file
src/backend/storage/ipc/dsm_impl.c
Copy file name to clipboardExpand all lines: src/backend/storage/ipc/dsm_impl.c+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
371 | 371 | |
372 | 372 | |
373 | 373 | |
| 374 | + |
374 | 375 | |
375 | 376 | |
376 | 377 | |
377 | 378 | |
| 379 | + |
378 | 380 | |
379 | 381 | |
380 | 382 | |
|
0 commit comments