libnvme_reap_passthru-libnvme32
Reap one async completion
Usage
int libnvme_reap_passthru (struct libnvme_transport_handle *hdl , struct libnvme_passthru_completion *completion );
Arguments
hdl
|
Transport handle |
|---|---|
completion
|
Completion output structure |
Overview
Waits for one queued passthru command to complete and stores the completed command pointer, associated cookie, and completion status in completion.
Return
0 on success, negative error code otherwise.