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.