nvme_verify - Man Page
Send an nvme verify command
int nvme_verify (struct nvme_io_args *args );
struct nvme_io_args argument structure
The Verify command verifies integrity of stored information by reading data and metadata, if applicable, for the LBAs indicated without transferring any data or metadata to the host.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
February 2023 libnvme API manual