Debian Codegraph @

doc/man/nvme_dsm.2

raw
1 .TH "nvme_dsm" 9 "nvme_dsm" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_dsm \- Send an nvme data set management command
4 .SH SYNOPSIS
5 .B "int" nvme_dsm
6 .BI "(struct nvme_dsm_args *args " ");"
7 .SH ARGUMENTS
8 .IP "args" 12
9 \fIstruct nvme_dsm_args\fP argument structure
10 .SH "DESCRIPTION"
11 The Dataset Management command is used by the host to indicate attributes
12 for ranges of logical blocks. This includes attributes like frequency that
13 data is read or written, access size, and other information that may be used
14 to optimize performance and reliability, and may be used to
15 deallocate/unmap/trim those logical blocks.
16 .SH "RETURN"
17 The nvme command status if a response was received (see
18 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.