summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_resv_acquire.2
blob: 7453c59a3becc13f08219b039375c2a6c44d6858 (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" "June 2023" "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.