Reference

nvme_init_zns_append-libnvme3(2)

Initialize passthru command to append data to a zone

NAME

nvme_init_zns_append - Initialize passthru command to append data to a zone

SYNOPSIS

void nvme_init_zns_append (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u64 zslba , __u16 nlb , __u16 control , __u16 cev , __u16 dspec , void *data , __u32 data_len , void *metadata , __u32 metadata_len );

ARGUMENTS

cmd

Passthru command to use

nsid

Namespace ID

zslba

Zone start logical block address

nlb

Number of logical blocks

control

Upper 16 bits of cdw12

cev

Command Extension Value

dspec

Directive Specific

data

Userspace address of the data buffer

data_len

Length of data

metadata

Userspace address of the metadata buffer

metadata_len

Length of metadata

DESCRIPTION

Initializes the passthru command buffer for the ZNS Append command.