Scroll to navigation

nvme_mi_admin_get_log_ana(2) libnvme API manual nvme_mi_admin_get_log_ana(2)

NAME

nvme_mi_admin_get_log_ana - Retrieve Asymmetric Namespace Access log page

SYNOPSIS

int nvme_mi_admin_get_log_ana (nvme_mi_ctrl_t ctrl , enum nvme_log_ana_lsp lsp , bool rae , __u64 offset , __u32 len , void *log );

ARGUMENTS

Controller to query
Log specific, see enum nvme_get_log_ana_lsp
Retain asynchronous events
Offset to the start of the log page
The allocated length of the log page
User address to store the ana log

DESCRIPTION

This log consists of a header describing the log and descriptors containing the asymmetric namespace access information for ANA Groups that contain namespaces that are attached to the controller processing the command.

See struct nvme_ana_rsp_hdr for the definition of the returned structure.

RETURN

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_mi_admin_get_log_ana February 2024