1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_id_ns_dlfeat - This field indicates information about fea‐
7 tures that affect deallocating logical blocks for this namespace.
8
10 enum nvme_id_ns_dlfeat {
11 NVME_NS_DLFEAT_RB ,
12 NVME_NS_DLFEAT_RB_NR ,
13 NVME_NS_DLFEAT_RB_ALL_0S ,
14 NVME_NS_DLFEAT_RB_ALL_FS ,
15 NVME_NS_DLFEAT_WRITE_ZEROES ,
16 NVME_NS_DLFEAT_CRC_GUARD
17
18 };
19
21 NVME_NS_DLFEAT_RB
22 Mask to get the value of the read behavior
23
24 NVME_NS_DLFEAT_RB_NR
25 Read behvaior is not reported
26
27 NVME_NS_DLFEAT_RB_ALL_0S
28 A deallocated logical block returns all bytes cleared to
29 0h.
30
31 NVME_NS_DLFEAT_RB_ALL_FS
32 A deallocated logical block returns all bytes set to FFh.
33
34 NVME_NS_DLFEAT_WRITE_ZEROES
35 If set, indicates that the controller supports the Deallo‐
36 cate bit in the Write Zeroes command for this namespace.
37
38 NVME_NS_DLFEAT_CRC_GUARD
39 If set, indicates that the Guard field for deallocated log‐
40 ical blocks that contain protection information is set to
41 the CRC for the value read from the deallocated logical
42 block and its metadata
43
44
45
46October 2023 enum nvme_id_ns_dlfeat libnvme(9)