libnvme_wait_passthru-libnvme32
Wait for all pending passthru completions
Usage
int libnvme_wait_passthru
(struct
libnvme_transport_handle
*hdl
);
Arguments
- hdl
-
Transport handle
Overview
Drains all pending passthru commands from the async queue. Use this after batching multiple libnvme_submit_admin_passthru calls when io_uring is enabled.
Return
0 on success, or the first non-zero status encountered.