summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_resv_acquire.2
blob: 1f02434978eacb9c4a3512b8932dc210db8a9fde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.TH "nvme_resv_acquire" 9 "nvme_resv_acquire" "August 2024" "libnvme API manual" LINUX
.SH NAME
nvme_resv_acquire \- Send an nvme reservation acquire
.SH SYNOPSIS
.B "int" nvme_resv_acquire
.BI "(struct nvme_resv_acquire_args *args "  ");"
.SH ARGUMENTS
.IP "args" 12
\fIstruct nvme_resv_acquire\fP argument structure
.SH "DESCRIPTION"
The Reservation Acquire command acquires a reservation on a namespace,
preempt a reservation held on a namespace, and abort a reservation held on a
namespace.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.