|
107 | 107 | * zinject
|
108 | 108 | * zinject <-a | -u pool>
|
109 | 109 | * zinject -c <id|all>
|
| 110 | + * zinject -E <seconds> [-a] [-m] [-f freq] [-l level] [-r range] |
| 111 | + * [-T iotype] [-t type object | -b bookmark pool] |
110 | 112 | * zinject [-q] <-t type> [-f freq] [-u] [-a] [-m] [-e errno] [-l level]
|
111 | 113 | * [-r range] <object>
|
112 | 114 | * zinject [-f freq] [-a] [-m] [-u] -b objset:object:level:start:end pool
|
|
132 | 134 | * The '-f' flag controls the frequency of errors injected, expressed as a
|
133 | 135 | * real number percentage between 0.0001 and 100. The default is 100.
|
134 | 136 | *
|
135 |
| - * The this form is responsible for actually injecting the handler into the |
| 137 | + * The <object> form is responsible for actually injecting the handler into the |
136 | 138 | * framework. It takes the arguments described above, translates them to the
|
137 | 139 | * internal tuple using libzpool, and then issues an ioctl() to register the
|
138 | 140 | * handler.
|
139 | 141 | *
|
140 |
| - * The final form can target a specific bookmark, regardless of whether a |
| 142 | + * The '-b' option can target a specific bookmark, regardless of whether a |
141 | 143 | * human-readable interface has been designed. It allows developers to specify
|
142 | 144 | * a particular block by number.
|
| 145 | + * |
| 146 | + * The '-E' option injects pipeline ready stage delays for the given object or |
| 147 | + * bookmark. It supports I/O type and range filters. |
143 | 148 | */
|
144 | 149 |
|
145 | 150 | #include <errno.h>
|
@@ -350,8 +355,8 @@ usage(void)
|
350 | 355 | "\t\t[-T iotype] [-t type object | -b bookmark pool]\n"
|
351 | 356 | "\n"
|
352 | 357 | "\t\tInject pipeline ready stage delays for the given object path\n"
|
353 |
| - "\t\t(data or dnode) or raw bookmark. Arguments other than -E are\n" |
354 |
| - "\t\tthe same as for injecting errors documented below." |
| 358 | + "\t\t(data or dnode) or raw bookmark. The delay is specified in\n" |
| 359 | + "\t\tseconds and allows decimals (e.g. 5 or 0.1).\n" |
355 | 360 | "\n"
|
356 | 361 | "\tzinject -I [-s <seconds> | -g <txgs>] pool\n"
|
357 | 362 | "\t\tCause the pool to stop writing blocks yet not\n"
|
|
0 commit comments