@@ -63,7 +63,7 @@ nvme_list_opts () {
63
63
;;
64
64
" list-ns" )
65
65
opts+=" --namespace-id= -n --al -a --csi= -y \
66
- --outputformat= -o"
66
+ --outputformat= -o --timeout= -t "
67
67
;;
68
68
" list-ctrl" )
69
69
opts+=" --namespace-id= -n --cntid= -c \
@@ -163,7 +163,7 @@ nvme_list_opts () {
163
163
;;
164
164
" effects-log" )
165
165
opts+=" --output-format= -o --human-readable -H \
166
- --raw-binary -b"
166
+ --raw-binary -b --timeout= -t "
167
167
;;
168
168
" endurance-log" )
169
169
opts+=" --output-format= -o --group-id -g"
@@ -205,10 +205,10 @@ nvme_list_opts () {
205
205
" get-feature" )
206
206
opts+=" --namespace-id= -n --feature-id= -f --sel= -s \
207
207
--data-len= -l --cdw11= --c -uuid-index= -U --raw-binary -b \
208
- --human-readable -H"
208
+ --human-readable -H --timeout= -t "
209
209
;;
210
210
" device-self-test" )
211
- opts+=" --namespace-id= -n --self-test-code= -s"
211
+ opts+=" --namespace-id= -n --self-test-code= -s --timeout= -t "
212
212
;;
213
213
" self-test-log" )
214
214
opts+=" --dst-entries= -e --output-format= -o \
@@ -217,30 +217,31 @@ nvme_list_opts () {
217
217
" set-feature" )
218
218
opts+=" --namespace-id= -n --feature-id= -f --value= -v \
219
219
--data-len= -l -data= -d --value= -v --save -s --uuid-index= -U \
220
- --cdw12= -c"
220
+ --cdw12= -c --timeout= -t "
221
221
;;
222
222
" set-property" )
223
- opts+=" --offset= -O --value= -V"
223
+ opts+=" --offset= -O --value= -V --timeout= -t "
224
224
;;
225
225
" get-property" )
226
- opts=+" --offset= -O --human-readable -H"
226
+ opts=+" --offset= -O --human-readable -H --timeout= -t "
227
227
;;
228
228
" format" )
229
229
opts+=" --namespace-id= -n --timeout= -t --lbaf= -l \
230
230
--ses= -s --pil= -p -pi= -i --ms= -m --reset -r"
231
231
;;
232
232
" fw-commit" )
233
- opts+=" --slot= -s --action= -a --bpid= -b"
233
+ opts+=" --slot= -s --action= -a --bpid= -b --timeout= -t "
234
234
;;
235
235
" fw-download" )
236
- opts+=" --fw= -f --xfer= -x --offset= -O"
236
+ opts+=" --fw= -f --xfer= -x --offset= -O --timeout= -t "
237
237
;;
238
238
" capacity-mgmt" )
239
239
opts+=" --operation= -O --element-id= -i --cap-lower= -l \
240
- --cap-upper= -u"
240
+ --cap-upper= -u --timeout= -t "
241
241
;;
242
242
" lockdown" )
243
- opts+=" --ofi= -O --ifc= -f --prhbt= -p --scp= -s --uuid -U"
243
+ opts+=" --ofi= -O --ifc= -f --prhbt= -p --scp= -s --uuid -U \
244
+ --timeout= -t"
244
245
;;
245
246
" admin-passthru" )
246
247
opts+=" --opcode= -O --flags= -f --prefil= -p --rsvd= -R \
@@ -262,11 +263,11 @@ nvme_list_opts () {
262
263
;;
263
264
" security-send" )
264
265
opts+=" --namespace-id= -n --file= -f --nssf= -N --secp= -p \
265
- --spsp= -s --tl= -t"
266
+ --spsp= -s --tl= -t --timeout= "
266
267
;;
267
268
" security-recv" )
268
269
opts+=" --namespace-id= -n --size= -x --secp= -p --spsp= -s \
269
- --al= -t --raw-binary -b"
270
+ --al= -t --raw-binary -b --timeout= "
270
271
;;
271
272
" get-lba-status" )
272
273
opts+=" --namespace-id= -n --start-lba= -s --max-dw= -m \
@@ -275,23 +276,24 @@ nvme_list_opts () {
275
276
;;
276
277
" resv-acquire" )
277
278
opts+=" --namespace-id= -n --crkey= -c --prkey= -p \
278
- --rtype= -t --racqa= -a --iekey= -i"
279
+ --rtype= -t --racqa= -a --iekey= -i --timeout= "
279
280
;;
280
281
" resv-register" )
281
282
opts+=" --namespace-id= -n --crkey= -c --nrkey= -k \
282
- --rrega= -r --cptpl= -p --iekey -i"
283
+ --rrega= -r --cptpl= -p --iekey -i --timeout= -t "
283
284
;;
284
285
" resv-release" )
285
286
opts+=" --namespace-id= -n --crkey -c --rtype= -t \
286
- --rrela= -a --iekey -i"
287
+ --rrela= -a --iekey -i --timeout= "
287
288
;;
288
289
" resv-report" )
289
290
opts+=" --namespace-id= -n --numd= -d --eds -e \
290
- --raw-binary= -b --output-format= -o"
291
+ --raw-binary= -b --output-format= -o --timeout= -t "
291
292
;;
292
293
" dsm" )
293
- opts+=" --namespace-id= -n --ctx-attrs= -a --blocks= -b\
294
- --slbs= -s --ad -d --idw -w --idr -r --cdw11= -c"
294
+ opts+=" --namespace-id= -n --ctx-attrs= -a --blocks= -b \
295
+ --slbs= -s --ad -d --idw -w --idr -r --cdw11= -c \
296
+ --timeout= -t"
295
297
;;
296
298
" copy" )
297
299
opts+=" --namespace-id= -n --sdlba= -d --blocks= -b --slbs= -s \
@@ -300,7 +302,7 @@ nvme_list_opts () {
300
302
--ref-tag= -r --expected-ref-tag= -R \
301
303
--app-tag= -a --expected-app-tag= -A \
302
304
--app-tag-mask= -m --expected-app-tag-mask= -M \
303
- --dir-type= -T --dir-spec= -S --format= -F"
305
+ --dir-type= -T --dir-spec= -S --format= -F --timeout= -t "
304
306
;;
305
307
" flush" )
306
308
opts+=" --namespace-id= -n"
@@ -312,7 +314,7 @@ nvme_list_opts () {
312
314
--app-tag= -a --limited-retry -l \
313
315
--force-unit-access -f --storage-tag-check -C \
314
316
--dir-type= -T --dir-spec= -S --dsm= -D --show-command -V \
315
- --dry-run -w --latency -t"
317
+ --dry-run -w --latency -t --timeout= "
316
318
;;
317
319
" read" )
318
320
opts+=" --start-block= -s --block-count= -c --data-size= -z \
@@ -321,7 +323,7 @@ nvme_list_opts () {
321
323
--app-tag= -a --limited-retry -l \
322
324
--force-unit-access -f --storage-tag-check -C \
323
325
--dir-type= -T --dir-spec= -S --dsm= -D --show-command -V \
324
- --dry-run -w --latency -t"
326
+ --dry-run -w --latency -t --timeout= "
325
327
;;
326
328
" write" )
327
329
opts+=" --start-block= -s --block-count= -c --data-size= -z \
@@ -330,26 +332,27 @@ nvme_list_opts () {
330
332
--app-tag= -a --limited-retry -l \
331
333
--force-unit-access -f --storage-tag-check -C \
332
334
--dir-type= -T --dir-spec= -S --dsm= -D --show-command -V \
333
- --dry-run -w --latency -t"
335
+ --dry-run -w --latency -t --timeout= "
334
336
;;
335
337
" write-zeroes" )
336
338
opts+=" --namespace-id= -n --start-block= -s \
337
339
--block-count= -c --deac -d --limited-retry -l \
338
340
--force-unit-access -f --prinfo= -p --ref-tag= -r \
339
341
--app-tag-mask= -m --app-tag= -a \
340
342
--storage-tag= -S --storage-tag-check -C \
341
- --dir-type= -T --dir-spec= -S"
343
+ --dir-type= -T --dir-spec= -S --timeout= -t "
342
344
;;
343
345
" write-uncor" )
344
346
opts+=" --namespace-id= -n --start-block= -s \
345
- --block-count= -c --dir-type= -T --dir-spec= -S"
347
+ --block-count= -c --dir-type= -T --dir-spec= -S \
348
+ --timeout= -t"
346
349
;;
347
350
" verify" )
348
351
opts+=" --namespace-id= -n --start-block= -s \
349
352
--block-count= -c --limited-retry -l \
350
353
--force-unit-access -f --prinfo= -p --ref-tag= -r \
351
354
--app-tag= -a --app-tag-mask= -m \
352
- --storage-tag= -S --storage-tag-check -C"
355
+ --storage-tag= -S --storage-tag-check -C --timeout= -t "
353
356
;;
354
357
" sanitize" )
355
358
opts+=" --no-dealloc -d --oipbp -i --owpass= -n \
@@ -374,7 +377,7 @@ nvme_list_opts () {
374
377
opts+=$NO_OPTS
375
378
;;
376
379
" show-regs" )
377
- opts+=" --output-format= -o --human-readable -H"
380
+ opts+=" --output-format= -o --human-readable -H --timeout= -t "
378
381
;;
379
382
" discover" )
380
383
opts+=" --transport= -t -traddr= -a -trsvcid= -s \
@@ -427,15 +430,16 @@ nvme_list_opts () {
427
430
" dir-receive" )
428
431
opts+=" --namespace-id= -n --data-len= -l --raw-binary -b \
429
432
--dir-type= -D --dir-spec= -S --dir-oper= -O \
430
- --req-resource= -r --human-readable -H"
433
+ --req-resource= -r --human-readable -H --timeout= -t "
431
434
;;
432
435
" dir-send" )
433
436
opts+=" --namespace-id= -n --data-len= -l --dir-type= -D \
434
437
--target-dir= -T --dir-spec= -S --dir-oper= -O \
435
- --endir= -e --human-readable -H --raw-binary -b"
438
+ --endir= -e --human-readable -H --raw-binary -b \
439
+ --timeout= -t"
436
440
;;
437
441
" virt-mgmt" )
438
- opts+=" --cntlid= -c --rt= -r --act= -a --nr= -n"
442
+ opts+=" --cntlid= -c --rt= -r --act= -a --nr= -n --timeout= -t "
439
443
;;
440
444
" rpmb" )
441
445
opts+=" --cmd= -c --msgfile= -f --keyfile= -g \
@@ -459,13 +463,14 @@ nvme_list_opts () {
459
463
--pmrcap --pmrsts --pmrebs --pmrswtp --intms --intmc \
460
464
--cc --csts --nssr --aqa --asq --acq --bprsel --bpmbl \
461
465
--cmbmsc --nssd --pmrctl --pmrmscl --pmrmscu \
462
- --output-format -o --verbose -v"
466
+ --output-format -o --verbose -v --timeout= -t "
463
467
;;
464
468
" set-reg" )
465
469
opts+=" --offset, -O --value= -V --mmio32 -m --intms= --intmc= \
466
470
--cc= --csts= --nssr= --aqa= --asq= --acq= --bprsel= \
467
471
--bpmbl= --cmbmsc= --nssd= --pmrctl= --pmrmscl= \
468
- --pmrmscu= --output-format= -o --verbose= -v"
472
+ --pmrmscu= --output-format= -o --verbose= -v \
473
+ --timeout= -t"
469
474
;;
470
475
" version" )
471
476
opts+=$NO_OPTS
0 commit comments