summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_resv_acquire.2
blob: d31c092095c3d397764e7998ab1d1a15b2144b96 (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 2022" "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.