libnvme_get_log(9)

NAME
libnvme_get_log - Get log page data

SYNOPSIS
int libnvme_get_log (struct libnvme_transport_handle *hdl , struct libnvme_passthru_cmd *cmd , bool rae , __u32 xfer_len );

ARGUMENTS

hdl Transport handle

cmd Passthru command

rae Retain asynchronous events

xfer_len
    Max log transfer size per request to split the total.

RETURN
0 on success, the nvme command status if a response was received (see enum nvme_status_field) or a negative error otherwise.