nvme_init_resv_release-libnvme32
Initialize passthru command for reservation release
Usage
void nvme_init_resv_release (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_resv_rrela rrela , bool iekey , bool disnsrs , enum nvme_resv_rtype rtype , __u64 crkey , __le64 *payload );
Arguments
cmd
|
Passthru command to use |
|---|---|
nsid
|
Namespace identifier |
rrela
|
Reservation release action, see enum nvme_resv_rrela |
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 to release |
payload
|
Data payload buffer to hold crkey |
Overview
Initializes the passthru command buffer for the Reservation Release command.