mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
zinject: Introduce ready delay fault injection
This adds a pause to the ZIO pipeline in the ready stage for matching I/O (data, dnode, or raw bookmark). Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rob Norris <robn@despairlabs.com> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Akash B <akash-b@hpe.com> Signed-off-by: Robert Evans <evansr@google.com> Closes #17787
This commit is contained in:
committed by
Tony Hutter
parent
073b34b3ee
commit
ead0fb736d
@@ -138,6 +138,20 @@ This injector is automatically cleared after the import is finished.
|
||||
.
|
||||
.It Xo
|
||||
.Nm zinject
|
||||
.Fl E Ar delay
|
||||
.Op Fl a
|
||||
.Op Fl m
|
||||
.Op Fl f Ar freq
|
||||
.Op Fl l Ar level
|
||||
.Op Fl r Ar range
|
||||
.Op Fl T Ar iotype
|
||||
.Op Fl t Ar type Ns | Ns Fl b Ar bookmark
|
||||
.Xc
|
||||
Inject pipeline ready stage delays for the given object or bookmark.
|
||||
The delay is specified in milliseconds.
|
||||
.
|
||||
.It Xo
|
||||
.Nm zinject
|
||||
.Fl I
|
||||
.Op Fl s Ar seconds Ns | Ns Fl g Ar txgs
|
||||
.Ar pool
|
||||
|
||||
Reference in New Issue
Block a user