nvme_ns_detach_ctrls - Man Page
Detach namespace from controllers
Synopsis
int nvme_ns_detach_ctrls (int fd , __u32 nsid , struct nvme_ctrl_list *ctrlist );
Arguments
- fd
File descriptor of nvme device
- nsid
Namespace ID to detach
- ctrlist
Controller list to modify attachment state of nsid
Return
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
Info
November 2024 libnvme API manual