1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_status_result - Result of the device self-test operation
7
9 enum nvme_status_result {
10 NVME_ST_RESULT_NO_ERR ,
11 NVME_ST_RESULT_ABORTED ,
12 NVME_ST_RESULT_CLR ,
13 NVME_ST_RESULT_NS_REMOVED ,
14 NVME_ST_RESULT_ABORTED_FORMAT ,
15 NVME_ST_RESULT_FATAL_ERR ,
16 NVME_ST_RESULT_UNKNOWN_SEG_FAIL ,
17 NVME_ST_RESULT_KNOWN_SEG_FAIL ,
18 NVME_ST_RESULT_ABORTED_UNKNOWN ,
19 NVME_ST_RESULT_ABORTED_SANITIZE ,
20 NVME_ST_RESULT_NOT_USED ,
21 NVME_ST_RESULT_MASK
22
23 };
24
26 NVME_ST_RESULT_NO_ERR
27 Operation completed without error.
28
29 NVME_ST_RESULT_ABORTED
30 Operation was aborted by a Device Self-test command.
31
32 NVME_ST_RESULT_CLR
33 Operation was aborted by a Controller Level Reset.
34
35 NVME_ST_RESULT_NS_REMOVED
36 Operation was aborted due to a removal of a namespace from
37 the namespace inventory.
38
39 NVME_ST_RESULT_ABORTED_FORMAT
40 Operation was aborted due to the processing of a Format NVM
41 command.
42
43 NVME_ST_RESULT_FATAL_ERR
44 A fatal error or unknown test error occurred while the con‐
45 troller was executing the device self-test operation and
46 the operation did not complete.
47
48 NVME_ST_RESULT_UNKNOWN_SEG_FAIL
49 Operation completed with a segment that failed and the seg‐
50 ment that failed is not known.
51
52 NVME_ST_RESULT_KNOWN_SEG_FAIL
53 Operation completed with one or more failed segments and
54 the first segment that failed is indicated in the Segment
55 Number field.
56
57 NVME_ST_RESULT_ABORTED_UNKNOWN
58 Operation was aborted for unknown reason.
59
60 NVME_ST_RESULT_ABORTED_SANITIZE
61 Operation was aborted due to a sanitize operation.
62
63 NVME_ST_RESULT_NOT_USED
64 Entry not used (does not contain a test result).
65
66 NVME_ST_RESULT_MASK
67 Mask to get the status result value from the struct
68 nvme_st_result.dsts field.
69
70
71
72April 2023 enum nvme_status_result libnvme(9)