virtio-devices: Add an asynchronous virtio-blk device

This introduces a new version of virtio-blk device. The default
virtio-blk provides synchronous processing of the queues, while this
new version relies on io_uring from the host kernel to provide an
asynchronous processing of the queues.

This new asynchronous version provides a huge performance improvement
compared to the default synchronous version.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-07-30 12:40:09 +02:00
committed by Rob Bradford
parent 49a6500185
commit 64283726e7
4 changed files with 690 additions and 0 deletions
+2
View File
@@ -31,6 +31,7 @@ use std::io;
mod device;
pub mod balloon;
pub mod block;
pub mod block_io_uring;
mod console;
pub mod epoll_helper;
mod iommu;
@@ -45,6 +46,7 @@ pub mod vsock;
pub use self::balloon::*;
pub use self::block::*;
pub use self::block_io_uring::*;
pub use self::console::*;
pub use self::device::*;
pub use self::epoll_helper::*;