Closed ming1 closed 2 years ago
This ways is a bit heavy since request allocation is required in case of offloading the ublksrv IO direclty.
But it does help to offload non-ublksrv IO, such as qcow2's meta, fallocate on new cluster, or flush l2/refcount table.
Will work on V2 for cover both.
merged already
Add interfaces for offloading io handling into non-io_uring context, and it is ublksrv's aio.
For the following reasons:
The added interfaces will simplify io offloading implementation a lot. With these interface, demo_event now supports both null and loop target, meantime supports both sync io and io_uring handling.