DOKK / manpages / debian 12 / libnvme-dev / nvme_ctrl_reset.2.en
nvme_ctrl_reset(2) libnvme API manual nvme_ctrl_reset(2)

nvme_ctrl_reset - Initiate a controller reset

int nvme_ctrl_reset (int fd );

File descriptor of nvme device

This should only be sent to controller handles, not to namespaces.

0 if a reset was initiated or -1 with errno set otherwise.

nvme_ctrl_reset January 2023