logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_ns_mgmt_delete_timeout - Delete a non attached namespace with timeout

Arguments

       fd          File descriptor of nvme device

       nsid        Namespace identifier to delete

       timeout     Override  the  default  timeout  to  this  value  in milliseconds; set to 0 to use the system
                   default.

Description

       It is  recommended  that  a  namespace  being  deleted  is  not  attached  to  any  controller.  Use  the
       nvme_ns_detach_ctrls first if the namespace is still attached.

Name

       nvme_ns_mgmt_delete_timeout - Delete a non attached namespace with timeout

Return

       The  nvme  command  status  if  a response was received (see enumnvme_status_field) or -1 with errno set
       otherwise.

May 2025                                   nvme_ns_mgmt_delete_timeout            nvme_ns_mgmt_delete_timeout(2)

Synopsis

intnvme_ns_mgmt_delete_timeout(intfd,__u32nsid,__u32timeout);

See Also