Reference

nvme_init_get_log_smart-libnvme3(2)

Initialize passthru command for SMART / Health Information

NAME

nvme_init_get_log_smart - Initialize passthru command for SMART / Health Information

SYNOPSIS

void nvme_init_get_log_smart (struct libnvme_passthru_cmd *cmd , __u32 nsid , struct nvme_smart_log *smart_log );

ARGUMENTS

cmd

Passthru command to use

nsid

Optional namespace identifier

smart_log

User address to store the smart log

DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_SMART.