nvme_write_uncorrectable2
Submit an nvme write uncorrectable command
Usage
int nvme_write_uncorrectable (struct nvme_io_args *args );
Arguments
- args
-
struct nvme_io_args argument structure
Overview
The Write Uncorrectable command marks a range of logical blocks as invalid. When the specified logical block(s) are read after this operation, a failure is returned with Unrecovered Read Error status. To clear the invalid logical block status, a write operation on those logical blocks is required.
Return
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.