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

1
Cargo.lock generated
View File

@@ -1529,6 +1529,7 @@ dependencies = [
"byteorder",
"devices",
"epoll",
"io-uring",
"libc",
"log 0.4.11",
"net_gen",