libnvme_exec_io_passthru-libnvme3(2)

libnvme_exec_io_passthru-libnvme32

Submit an io passthru command and wait

Usage

int libnvme_exec_io_passthru (struct libnvme_transport_handle *hdl , struct libnvme_passthru_cmd *cmd );

Arguments

hdl

Transport handle

cmd

The nvme IO command to send

Overview

Synchronous command execution. Note: when io_uring is enabled, this shares the async queue. Avoid mixing this with direct async API usage on the same handle. For batching, use the async API exclusively.

Return

The nvme command status if a response was received (see enum nvme_status_field), or negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.