|
26 | 26 | .\" Copyright (c) 2018 George Melikov. All Rights Reserved.
|
27 | 27 | .\" Copyright 2017 Nexenta Systems, Inc.
|
28 | 28 | .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
|
29 |
| -.\" Copyright (c) 2024, Klara Inc. |
| 29 | +.\" Copyright (c) 2024, 2025, Klara, Inc. |
30 | 30 | .\"
|
31 |
| -.Dd February 28, 2024 |
| 31 | +.Dd May 27, 2025 |
32 | 32 | .Dt ZPOOL-EVENTS 8
|
33 | 33 | .Os
|
34 | 34 | .
|
@@ -308,6 +308,16 @@ The valid pipeline stages for the I/O.
|
308 | 308 | See the
|
309 | 309 | .Sy I/O STAGES
|
310 | 310 | section for a full list of all the I/O stages.
|
| 311 | +.It Sy zio_priority |
| 312 | +The queue priority of the I/O request. |
| 313 | +See the |
| 314 | +.Sy I/O PRIORITIES |
| 315 | +section for a full list of all the I/O priorities. |
| 316 | +.It Sy zio_tyoe |
| 317 | +The type of the I/O request. |
| 318 | +See the |
| 319 | +.Sy I/O TYPES |
| 320 | +section for a full list of all the I/O types. |
311 | 321 | .It Sy zio_delay
|
312 | 322 | The time elapsed (in nanoseconds) waiting for the block layer to complete the
|
313 | 323 | I/O request.
|
@@ -477,6 +487,51 @@ ZIO_FLAG_DELEGATED:0x40000000
|
477 | 487 | ZIO_FLAG_FASTWRITE:0x80000000
|
478 | 488 | .TE
|
479 | 489 | .
|
| 490 | +.Sh I/O TYPES |
| 491 | +Every I/O request in the pipeline has a single type value. |
| 492 | +This value describes the kind of low-level work the I/O represents. |
| 493 | +This value will be set in an event as a |
| 494 | +.Sy zio_type |
| 495 | +payload entry. |
| 496 | +.Pp |
| 497 | +.TS |
| 498 | +tab(:); |
| 499 | +l l l . |
| 500 | +Type:Value:Description |
| 501 | +_:_:_ |
| 502 | +ZIO_TYPE_NULL:0x0:internal I/O sync point |
| 503 | +ZIO_TYPE_READ:0x1:data read |
| 504 | +ZIO_TYPE_WRITE:0x2:data write |
| 505 | +ZIO_TYPE_FREE:0x3:block free |
| 506 | +ZIO_TYPE_CLAIM:0x4:block claim (ZIL replay) |
| 507 | +ZIO_TYPE_FLUSH:0x5:disk cache flush request |
| 508 | +ZIO_TYPE_TRIM:0x6:trim (discard) |
| 509 | +.TE |
| 510 | +. |
| 511 | +.Sh I/O PRIORITIES |
| 512 | +Every I/O request in the pipeline has a single priority value. |
| 513 | +This value is used by the queuing code to decide which I/O to issue next. |
| 514 | +This value will be set in an event as a |
| 515 | +.Sy zio_priority |
| 516 | +payload entry. |
| 517 | +.Pp |
| 518 | +.TS |
| 519 | +tab(:); |
| 520 | +l l l . |
| 521 | +Type:Value:Description |
| 522 | +_:_:_ |
| 523 | +ZIO_PRIORITY_SYNC_READ:0x0: |
| 524 | +ZIO_PRIORITY_SYNC_WRITE:0x1:ZIL |
| 525 | +ZIO_PRIORITY_ASYNC_READ:0x2:prefetch |
| 526 | +ZIO_PRIORITY_ASYNC_WRITE:0x3:spa_sync() |
| 527 | +ZIO_PRIORITY_SCRUB:0x4:asynchronous scrub/resilver reads |
| 528 | +ZIO_PRIORITY_REMOVAL:0x5:reads/writes for vdev removal |
| 529 | +ZIO_PRIORITY_INITIALIZING:0x6:initializing I/O |
| 530 | +ZIO_PRIORITY_TRIM:0x7:trim I/O (discard) |
| 531 | +ZIO_PRIORITY_REBUILD:0x8:reads/writes for vdev rebuild |
| 532 | +ZIO_PRIORITY_NOW:0xa:non-queued i/os (e.g. free) |
| 533 | +.TE |
| 534 | +. |
480 | 535 | .Sh SEE ALSO
|
481 | 536 | .Xr zfs 4 ,
|
482 | 537 | .Xr zed 8 ,
|
|
0 commit comments