nvme_init_resv_register-libnvme32
Initialize passthru command for reservation register
Usage
void nvme_init_resv_register (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_resv_rrega rrega , bool iekey , bool disnsrs , enum nvme_resv_cptpl cptpl , __u64 crkey , __u64 nrkey , __le64 *payload );
Arguments
cmd
|
Passthru command to use |
|---|---|
nsid
|
Namespace identifier |
rrega
|
The registration action, see enum nvme_resv_rrega |
iekey
|
Set to ignore the existing key |
disnsrs
|
Disperse Namespace Reservation Support |
cptpl
|
Change persist through power loss, see enum nvme_resv_cptpl |
crkey
|
The current reservation key associated with the host |
nrkey
|
The new reservation key to be register if action is register or replace |
payload
|
Data payload buffer to hold crkey and nrkey |
Overview
Initializes the passthru command buffer for the Reservation Register command.