Reference

nvme_init_dsm-libnvme3(2)

Initialize passthru command for NVMe I/O Data Set Management

NAME

nvme_init_dsm - Initialize passthru command for NVMe I/O Data Set Management

SYNOPSIS

void nvme_init_dsm (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u16 nr , __u8 idr , __u8 idw , __u8 ad , void *data , __u32 len );

ARGUMENTS

cmd

Passthru command to use

nsid

Namespace identifier

nr

Number of block ranges in the data set management attributes

idr

DSM Integral Dataset for Read attribute

idw

DSM Integral Dataset for Write attribute

ad

DSM Deallocate attribute

data

User space destination address to transfer the data

len

Length of provided user buffer to hold the log data in bytes