libnvme_submit_io_passthru-libnvme32
Queue io passthru command
Usage
int libnvme_submit_io_passthru (struct libnvme_transport_handle *hdl , struct libnvme_passthru_cmd *cmd , void *cookie );
Arguments
hdl
|
Transport handle |
|---|---|
cmd
|
The nvme IO command to send |
cookie
|
User-defined opaque value returned at completion |
Overview
Queues cmd for asynchronous execution. Completion is reported via libnvme_reap_passthru.
Return
0 on successful queueing, negative error code otherwise.