1
0
Fork 0

Adding upstream version 1.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:50:21 +01:00
parent 2e3cdb015d
commit e82d603de0
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
928 changed files with 6732 additions and 1442 deletions

View file

@ -4218,6 +4218,34 @@ The nvme command status if a response was received (see
:c:type:`enum nvme_status_field <nvme_status_field>`) or -1 with errno set otherwise.
.. c:function:: int nvme_ns_mgmt_delete_timeout (int fd, __u32 nsid, __u32 timeout)
Delete a non attached namespace with timeout
**Parameters**
``int fd``
File descriptor of nvme device
``__u32 nsid``
Namespace identifier to delete
``__u32 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.
**Return**
The nvme command status if a response was received (see
:c:type:`enum nvme_status_field <nvme_status_field>`) or -1 with errno set otherwise.
.. c:function:: int nvme_ns_mgmt_delete (int fd, __u32 nsid)
Delete a non attached namespace
@ -5201,27 +5229,3 @@ The nvme command status if a response was received (see
:c:type:`enum nvme_status_field <nvme_status_field>`) or -1 with errno set otherwise.
.. c:function:: void nvme_set_debug (bool debug)
Set NVMe command debugging output
**Parameters**
``bool debug``
true to enable or false to disable
.. c:function:: bool nvme_get_debug (void)
Get NVMe command debugging output
**Parameters**
``void``
no arguments
**Return**
false if disabled or true if enabled.