nvme_mi_admin_format_nvm
Format NVMe namespace
- Provided by: libnvme-dev (Version: 1.16.1-4)
- Source: libnvme
- Report a bug
Format NVMe namespace
int nvme_mi_admin_format_nvm (nvme_mi_ctrl_t ctrl , struct nvme_format_nvm_args *args );
Perform a low-level format to set the LBA data & metadata size. May destroy data & metadata on the specified namespaces
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.