Skip to main content

complete_io_request

Function complete_io_request 

Source
pub fn complete_io_request(
    io_queue_bytes: &mut [u8],
    slot_idx: u32,
    success: bool,
) -> Result<(), PipelineError>
Expand description

Write a completion status for a serviced IO request.

ยงErrors

Returns PipelineError when the target slot is outside the queue byte view, the view is not aligned to complete IO slots, or the view exceeds the compiled poll window.