Module uring_async

Module uring_async 

Source

Structs§

UblkUringOpFuture
User code creates one future with user_data used for submitting uring OP, then future.await returns this uring OP’s result.

Functions§

run_uring_tasks
Abstract uring task runner that doesn’t depend on specific async executor
ublk_reap_events_with_handler
Reap completion queue entries and handle them with a custom closure
ublk_reap_io_events_with_update_queue
Reap completion queue entries with queue state update and idle management
ublk_run_ctrl_task
Run one control task in this local Executor until the task is finished, control task is queued in the thread_local io_uring CTRL_URING.
ublk_run_io_task
Run one IO task in this local Executor until the task is finished
ublk_run_taskDeprecated
Run one task in this local Executor until the task is finished
ublk_submit_sqe_async
Submit an io_uring submission queue entry asynchronously
ublk_wait_and_handle_iosDeprecated
Wait and handle incoming IO command
ublk_wake_task
Wakeup the pending task, which will be marked as runnable by smol, and the task’s future poll() will be run by smol executor’s try_tick()
uring_poll_io_fn
wait_and_handle_io_events
Wait and handle I/O events for a ublk queue with customizable polling and completion callbacks