mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +00:00
During analysis of the asynchrous block I/O handling it was observed that the majority of the time the completion events occur in the same order as submissions. Further the maximum number of inflight requests during the boot time is much lower than the size of the queue. Through the use of a double ended queue (VecDequeue) with a reasonable pre-allocation capacity we can have O(1) allocation free addition of items to the list of inflight requests and mostly O(1) matching of completed requests to submissions. Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |