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

nvme_subsystem_reset - Initiate a subsystem reset

int nvme_subsystem_reset (int fd );

File descriptor of nvme device

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

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

nvme_subsystem_reset January 2023