1nvme_mi_admin_get_log_smart(9)libnvme API manualnvme_mi_admin_get_log_smart(9)
2
3
4
6 nvme_mi_admin_get_log_smart - Retrieve nvme smart log
7
9 int nvme_mi_admin_get_log_smart (nvme_mi_ctrl_t ctrl , __u32 nsid ,
10 bool rae , struct nvme_smart_log *smart_log );
11
13 ctrl Controller to query
14
15 nsid Optional namespace identifier
16
17 rae Retain asynchronous events
18
19 smart_log User address to store the smart log
20
22 This log page provides SMART and general health information. The infor‐
23 mation provided is over the life of the controller and is retained
24 across power cycles. To request the controller log page, the namespace
25 identifier specified is FFFFFFFFh. The controller may also support re‐
26 questing the log page on a per namespace basis, as indicated by bit 0
27 of the LPA field in the Identify Controller data structure.
28
30 The nvme command status if a response was received (see enum nvme_sta‐
31 tus_field) or -1 with errno set otherwise.
32
33
34
35November 2022 nvme_mi_admin_get_log_snmvamret_mi_admin_get_log_smart(9)