1NVME-ZEROES(1)                    NVMe Manual                   NVME-ZEROES(1)
2
3
4

NAME

6       nvme-write-zeroes - Send an NVMe write zeroes command, return results
7

SYNOPSIS

9       nvme-write-zeroes <device> [--start-block=<slba> | -s <slba>]
10                               [--block-count=<nlb> | -c <nlb>]
11                               [--ref-tag=<reftag> | -r <reftag>]
12                               [--prinfo=<prinfo> | -p <prinfo>]
13                               [--app-tag-mask=<appmask> | -m <appmask>]
14                               [--app-tag=<apptag> | -a <apptag>]
15                               [--deac | -d]
16                               [--limited-retry | -l]
17                               [--force-unit-access | -f]
18                               [--namespace-id=<nsid> | -n <nsid>]
19

DESCRIPTION

21       The Write Zeroes command is used to set a range of logical blocks to 0.
22

OPTIONS

24       --start-block=<slba>, -s <slba>
25           Start block.
26
27       --block-count=<nlb>, -c <nlb>
28           Number of logical blocks to write zeroes.
29
30       --prinfo=<prinfo>, -p <prinfo>
31           Protection Information field defintion.
32
33           ┌────┬────────────────────────────┐
34           │Bit │ Description                │
35           ├────┼────────────────────────────┤
36           │3   │ PRACT: Protection          │
37           │    │ Information Action. When   │
38           │    │ set to 1, PI is            │
39           │    │ stripped/inserted on       │
40           │    │ read/write when the block  │
41           │    │ format’s metadata size is  │
42           │    │ 8. When set to 0, metadata │
43           │    │ is passes.                 │
44           ├────┼────────────────────────────┤
45           │2:0 │ PRCHK: Protection          │
46           │    │ Information Check:         │
47           ├────┼────────────────────────────┤
48           │2   │ Set to 1 enables checking  │
49           │    │ the guard tag              │
50           ├────┼────────────────────────────┤
51           │1   │ Set to 1 enables checking  │
52           │    │ the application tag        │
53           ├────┼────────────────────────────┤
54           │0   │ Set to 1 enables checking  │
55           │    │ the reference tag          │
56           └────┴────────────────────────────┘
57
58       --ref-tag=<reftag>, -r <reftag>
59           Optional reftag when used with protection information.
60
61       --app-tag-mask=<appmask>, -m <appmask>
62           Optional application tag mask when used with protection
63           information.
64
65       --app-tag=<apptag>, -a <apptag>
66           Optional application tag when used with protection information.
67
68       --limited-retry, -l
69           Sets the limited retry flag.
70
71       --deac, -d
72           Sets the DEAC bit, requesting controller deallocate the logical
73           blocks.
74
75       --force-unit-access, -f
76           Set the force-unit access flag.
77
78       --namespace-id=<nsid>, -n <nsid>
79           Namespace ID use in the command.
80
81       EXAMPLES EXAMPLES
82
83           No examples yet.
84
85           NVME
86
87       Part of the nvme-user suite
88
89
90
91NVMe                              06/05/2018                    NVME-ZEROES(1)
Impressum