1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_zns_append_args - Arguments for the NVMe ZNS Append command
7
9 struct nvme_zns_append_args {
10 __u64 zslba;
11 __u64 *result;
12 void *data;
13 void *metadata;
14 int args_size;
15 int fd;
16 __u32 timeout;
17 __u32 nsid;
18 __u32 ilbrt;
19 __u32 data_len;
20 __u32 metadata_len;
21 __u16 nlb;
22 __u16 control;
23 __u16 lbat;
24 __u16 lbatm;
25 };
26
27
29 zslba Zone start logical block address
30
31 result The command completion result from CQE dword0
32
33 data Userspace address of the data
34
35 metadata Userspace address of the metadata
36
37 args_size Size of struct nvme_zns_append_args
38
39 fd File descriptor of nvme device
40
41 timeout Timeout in ms
42
43 nsid Namespace ID
44
45 ilbrt Initial logical block reference tag
46
47 data_len Length of data
48
49 metadata_len
50 Length of metadata
51
52 nlb Number of logical blocks
53
54 control
55
56 lbat Logical block application tag
57
58 lbatm Logical block application tag mask
59
60
61
62April 2022 struct nvme_zns_append_args libnvme(9)