Reference

nvme_init_resv_register-libnvme3(2)

Initialize passthru command for Reservation Register

NAME

nvme_init_resv_register - Initialize passthru command for Reservation Register

SYNOPSIS

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

DESCRIPTION

Initializes the passthru command buffer for the Reservation Register command.