| 1 |
.TH "nvme_write_uncorrectable" 9 "nvme_write_uncorrectable" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_write_uncorrectable \- Submit an nvme write uncorrectable command |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_write_uncorrectable |
| 6 |
.BI "(struct nvme_io_args *args " ");" |
| 7 |
.SH ARGUMENTS |
| 8 |
.IP "args" 12 |
| 9 |
\fIstruct nvme_io_args\fP argument structure |
| 10 |
.SH "DESCRIPTION" |
| 11 |
The Write Uncorrectable command marks a range of logical blocks as invalid. |
| 12 |
When the specified logical block(s) are read after this operation, a failure |
| 13 |
is returned with Unrecovered Read Error status. To clear the invalid logical |
| 14 |
block status, a write operation on those logical blocks is required. |
| 15 |
.SH "RETURN" |
| 16 |
The nvme command status if a response was received (see |
| 17 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |