Reference

libnvme_wait_passthru-libnvme3(2)

Wait for all pending passthru completions

NAME

libnvme_wait_passthru - Wait for all pending passthru completions

SYNOPSIS

int libnvme_wait_passthru (struct libnvme_transport_handle *hdl );

ARGUMENTS

hdl

Transport handle

DESCRIPTION

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.