libnvme_exec_io_passthru(9)

NAME
libnvme_exec_io_passthru - Submit an IO passthru command and wait

SYNOPSIS
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

DESCRIPTION
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.