1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_resv_acquire_args - Arguments for the NVMe Reservation Ac‐
7 quire Comand
8
10 struct nvme_resv_acquire_args {
11 __u64 crkey;
12 __u64 nrkey;
13 __u32 *result;
14 int args_size;
15 int fd;
16 __u32 timeout;
17 __u32 nsid;
18 enum nvme_resv_rtype rtype;
19 enum nvme_resv_racqa racqa;
20 bool iekey;
21 };
22
23
25 crkey The current reservation key associated with the host
26
27 nrkey The reservation key to be unregistered from the namespace
28 if the action is preempt
29
30 result The command completion result from CQE dword0
31
32 args_size Size of struct nvme_resv_acquire_args
33
34 fd File descriptor of nvme device
35
36 timeout Timeout in ms
37
38 nsid Namespace identifier
39
40 rtype The type of reservation to be create, see enum
41 nvme_resv_rtype
42
43 racqa The action that is performed by the command, see enum
44 nvme_resv_racqa
45
46 iekey Set to ignore the existing key
47
48
49
50April 2022 struct nvme_resv_acquire_args libnvme(9)