Skip to main content

try_complete_io_request

Function try_complete_io_request 

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

Strictly 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.