1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_endurance_group_log -
7
9 struct nvme_endurance_group_log {
10 __u8 critical_warning;
11 __u8 rsvd1[2];
12 __u8 avl_spare;
13 __u8 avl_spare_threshold;
14 __u8 percent_used;
15 __u8 rsvd6[26];
16 __u8 endurance_estimate[16];
17 __u8 data_units_read[16];
18 __u8 data_units_written[16];
19 __u8 media_units_written[16];
20 __u8 host_read_cmds[16];
21 __u8 host_write_cmds[16];
22 __u8 media_data_integrity_err[16];
23 __u8 num_err_info_log_entries[16];
24 __u8 rsvd160[352];
25 };
26
27
29 critical_warning
30 Critical Warning
31
32 rsvd1 Reserved
33
34 avl_spare Available Spare
35
36 avl_spare_threshold
37 Available Spare Threshold
38
39 percent_used
40 Percentage Used
41
42 rsvd6 Reserved
43
44 endurance_estimate
45 Endurance Estimate
46
47 data_units_read
48 Data Units Read
49
50 data_units_written
51 Data Units Written
52
53 media_units_written
54 Media Units Written
55
56 host_read_cmds
57 Host Read Commands
58
59 host_write_cmds
60 Host Write Commands
61
62 media_data_integrity_err
63 Media and Data Integrity Errors
64
65 num_err_info_log_entries
66 Number of Error Information Log Entries
67
68 rsvd160 Reserved
69
70
71
72April 2022 struct nvme_endurance_group_log libnvme(9)