- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitb3219c6
committed
aio: Add errcontext for processing I/Os for another backend
Push an ErrorContextCallback adding additional detail about the processperforming the I/O and the owner of the I/O when those are not the same.For io_method worker, this adds context specifying which process ownsthe I/O that the I/O worker is processing.For io_method io_uring, this adds context only when a backend is*completing* I/O for another backend. It specifies the pid of the owningprocess.Author: Melanie Plageman <melanieplageman@gmail.com>Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/rdml3fpukrqnas7qc5uimtl2fyytrnu6ymc2vjf2zuflbsjuul%40hyizyjsexwmm1 parentb136db0 commitb3219c6
2 files changed
+60
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
305 | 327 | | |
306 | 328 | | |
307 | 329 | | |
308 | 330 | | |
309 | 331 | | |
| 332 | + | |
310 | 333 | | |
311 | 334 | | |
312 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
313 | 340 | | |
314 | 341 | | |
315 | 342 | | |
| |||
337 | 364 | | |
338 | 365 | | |
339 | 366 | | |
| 367 | + | |
340 | 368 | | |
341 | 369 | | |
342 | 370 | | |
| 371 | + | |
343 | 372 | | |
344 | 373 | | |
345 | 374 | | |
| |||
348 | 377 | | |
349 | 378 | | |
350 | 379 | | |
| 380 | + | |
| 381 | + | |
351 | 382 | | |
352 | 383 | | |
353 | 384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
360 | 381 | | |
361 | 382 | | |
362 | 383 | | |
363 | 384 | | |
364 | 385 | | |
| 386 | + | |
365 | 387 | | |
366 | 388 | | |
367 | 389 | | |
| |||
388 | 410 | | |
389 | 411 | | |
390 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
391 | 417 | | |
392 | 418 | | |
393 | 419 | | |
| |||
471 | 497 | | |
472 | 498 | | |
473 | 499 | | |
| 500 | + | |
474 | 501 | | |
475 | 502 | | |
476 | 503 | | |
| |||
511 | 538 | | |
512 | 539 | | |
513 | 540 | | |
| 541 | + | |
514 | 542 | | |
515 | 543 | | |
516 | 544 | | |
| |||
522 | 550 | | |
523 | 551 | | |
524 | 552 | | |
| 553 | + | |
525 | 554 | | |
526 | 555 | | |
527 | 556 | | |
| |||
0 commit comments
Comments
(0)