mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 01:43:04 +00:00
runtime-rs: test block device aio with native set
DO-NOT-MERGE: just for debugging block_device_aio with native. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
e712c6b885
commit
7a98df3e05
@ -252,7 +252,8 @@ block_device_driver = "@DEFBLOCKSTORAGEDRIVER_QEMU@"
|
|||||||
# - io_uring
|
# - io_uring
|
||||||
# Linux io_uring API. This provides the fastest I/O operations on Linux, requires kernel>5.1 and
|
# Linux io_uring API. This provides the fastest I/O operations on Linux, requires kernel>5.1 and
|
||||||
# qemu >=5.0.
|
# qemu >=5.0.
|
||||||
block_device_aio = "@DEFBLOCKDEVICEAIO_QEMU@"
|
# block_device_aio = "@DEFBLOCKDEVICEAIO_QEMU@"
|
||||||
|
block_device_aio = "native"
|
||||||
|
|
||||||
# Specifies cache-related options will be set to block devices or not.
|
# Specifies cache-related options will be set to block devices or not.
|
||||||
# Default false
|
# Default false
|
||||||
|
@ -637,7 +637,7 @@ impl QemuInner {
|
|||||||
&self.config.blockdev_info.block_device_driver,
|
&self.config.blockdev_info.block_device_driver,
|
||||||
block_device.config.index,
|
block_device.config.index,
|
||||||
&block_device.config.path_on_host,
|
&block_device.config.path_on_host,
|
||||||
&block_device.config.blkdev_aio.to_string(),
|
&&self.config.blockdev_info.block_device_aio,
|
||||||
block_device.config.is_direct,
|
block_device.config.is_direct,
|
||||||
block_device.config.is_readonly,
|
block_device.config.is_readonly,
|
||||||
block_device.config.no_drop,
|
block_device.config.no_drop,
|
||||||
|
Loading…
Reference in New Issue
Block a user