libnvme_transport_handle_set_submit_exit-libnvme32
Install a submit-exit callback
Arguments
- hdl
-
Transport handle to configure
- submit_exit
-
Callback invoked after a passthrough command completes. The function receives the command, the completion status err (0 for success, a negative errno, or an NVMe status value), and the user_data pointer returned earlier by the submit-entry callback. Implementations typically use this hook for logging, tracing, or freeing per-command state.
Overview
Installs a callback that is invoked when a passthrough command leaves the NVMe submission path. Passing NULL removes any previously installed callback.
Return
None.