NAME
nvme_init_get_lba_status - Initialize passthru command to retrieve information on possibly unrecoverable LBAs
SYNOPSIS
void nvme_init_get_lba_status (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u64 slba , __u32 mndw , enum nvme_lba_status_atype atype , __u16 rl , struct nvme_lba_status *lbas );
ARGUMENTS
- cmd
-
Passthru command to use
- nsid
-
Namespace ID to retrieve LBA status
- slba
-
Starting logical block address to check statuses
- mndw
-
Maximum number of dwords to return
- atype
-
Action type mechanism to determine LBA status descriptors to return, see enum nvme_lba_status_atype
- rl
-
Range length from slba to perform the action
- lbas
-
Data payload buffer to return status descriptors
DESCRIPTION
Initializes the passthru command buffer for the Get LBA Status command.