cloud-hypervisor/src
Sergio Lopez c7e9056c1e vhost_user_blk: implement support for direct (O_DIRECT) mode
Add support for opening the disk images with O_DIRECT. This allows
bypassing the host's file system cache, which is useful to avoid
polluting its cache and for better data integrity.

This mode of operation can be enabled by adding the "direct=<bool>"
parameter to the "backend" argument:

./target/debug/vhost_user_blk --backend image=test.raw,sock=/tmp/vhostblk,direct=true

The "direct" parameter defaults to "false", to preserve the original
behavior.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2020-01-17 17:28:44 +00:00
..
bin vhost_user_blk: implement support for direct (O_DIRECT) mode 2020-01-17 17:28:44 +00:00
main.rs src: Add multiple queue checking in vhost-user-net integration test 2020-01-17 12:06:19 +01:00