libnvme_get_log-libnvme32
Get log page data
Usage
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.