nvme_init_resv_acquire-libnvme32
Initialize passthru command for reservation acquire
Usage
void nvme_init_resv_acquire (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_resv_racqa racqa , bool iekey , bool disnsrs , enum nvme_resv_rtype rtype , __u64 crkey , __u64 prkey , __le64 *payload );
Arguments
cmd
|
Passthru command to use |
|---|---|
nsid
|
Namespace identifier |
racqa
|
The action that is performed by the command, see enum nvme_resv_racqa |
iekey
|
Set to ignore the existing key |
disnsrs
|
Disperse Namespace Reservation Support |
rtype
|
The type of reservation to be create, see enum nvme_resv_rtype |
crkey
|
The current reservation key associated with the host |
prkey
|
Preempt Reservation Key |
payload
|
Data payload buffer to hold crkey and prkey |
Overview
Initializes the passthru command buffer for the Reservation Acquire command.