Debian Codegraph @

doc/man/nvme_ns_mgmt_delete_timeout.2

raw
1 .TH "nvme_ns_mgmt_delete_timeout" 9 "nvme_ns_mgmt_delete_timeout" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_ns_mgmt_delete_timeout \- Delete a non attached namespace with timeout
4 .SH SYNOPSIS
5 .B "int" nvme_ns_mgmt_delete_timeout
6 .BI "(int fd " ","
7 .BI "__u32 nsid " ","
8 .BI "__u32 timeout " ");"
9 .SH ARGUMENTS
10 .IP "fd" 12
11 File descriptor of nvme device
12 .IP "nsid" 12
13 Namespace identifier to delete
14 .IP "timeout" 12
15 Override the default timeout to this value in milliseconds;
16 set to 0 to use the system default.
17 .SH "DESCRIPTION"
18 It is recommended that a namespace being deleted is not attached to any
19 controller. Use the \fBnvme_ns_detach_ctrls\fP first if the namespace is still
20 attached.
21 .SH "RETURN"
22 The nvme command status if a response was received (see
23 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.