Reference

libnvme_reset_ctrl-libnvme3(2)

Initiate a controller reset

NAME

libnvme_reset_ctrl - Initiate a controller reset

SYNOPSIS

int libnvme_reset_ctrl (struct libnvme_transport_handle *hdl );

ARGUMENTS

hdl

Transport handle

DESCRIPTION

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

RETURN

0 if a reset was initiated or negative error code otherwise.