nvme_init_zns_append(9) libnvme API manual nvme_init_zns_append(9)

nvme_init_zns_append - Initialize passthru command to append data to a zone

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 );

Passthru command to use
Namespace ID
Zone start logical block address
Number of logical blocks
Upper 16 bits of cdw12
Command Extension Value
Directive Specific
Userspace address of the data buffer
Length of data
Userspace address of the metadata buffer
Length of metadata

Initializes the passthru command buffer for the ZNS Append command.

nvme_init_zns_append October 2026