- Notifications
You must be signed in to change notification settings - Fork5
Commit44023dc
committed
Add isExtend to the parameters of the buffer_read_start and buffer_read_done
DTrace probes, so that ordinary reads can be distinguished from relationextension operations. Move buffer_read_start probe to before thesmgrnblocks() call that's needed in the isExtend case, since really that stepshould be charged as part of the time needed for the extension operation.(This makes it slightly harder to match the read_start with the associatedread_done, since now you can't match them on blockNumber, but it should stillbe possible since isExtend operations on the same relation can never beinterleaved.) Per recent discussion.In passing, add the page identity (forkNum/blockNum) to the parameters of thebuffer_flush_start/buffer_flush_done probes, which were unaccountably lackingthe info.1 parentf04ee70 commit44023dc
2 files changed
+20
-13
lines changedLines changed: 15 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 | 259 |
| |
264 | 260 |
| |
265 | 261 |
| |
266 | 262 |
| |
267 |
| - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
268 | 269 |
| |
269 | 270 |
| |
270 | 271 |
| |
| |||
318 | 319 |
| |
319 | 320 |
| |
320 | 321 |
| |
| 322 | + | |
321 | 323 |
| |
322 | 324 |
| |
323 | 325 |
| |
| |||
447 | 449 |
| |
448 | 450 |
| |
449 | 451 |
| |
| 452 | + | |
450 | 453 |
| |
451 | 454 |
| |
452 | 455 |
| |
| |||
1865 | 1868 |
| |
1866 | 1869 |
| |
1867 | 1870 |
| |
1868 |
| - | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
1869 | 1874 |
| |
1870 | 1875 |
| |
1871 | 1876 |
| |
| |||
1902 | 1907 |
| |
1903 | 1908 |
| |
1904 | 1909 |
| |
1905 |
| - | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
1906 | 1913 |
| |
1907 | 1914 |
| |
1908 | 1915 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
|
0 commit comments
Comments
(0)