libnvme_exec_io_passthru(9) libnvme API manual libnvme_exec_io_passthru(9)

libnvme_exec_io_passthru - Submit an IO passthru command and wait

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

Transport handle
The nvme IO command to send

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.

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

libnvme_exec_io_passthru September 2026