mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 09:42:45 +00:00
config: Add cache-related options for block devices
Add block_device_cache_set, block_device_cache_direct and block_device_cache_noflush. Fixes: #997 Signed-off-by: Hui Zhu <teawater@hyper.sh>
This commit is contained in:
parent
408428edf4
commit
6024088ca0
@ -95,6 +95,20 @@ disable_block_device_use = @DEFDISABLEBLOCK@
|
||||
# virtio-blk.
|
||||
block_device_driver = "@DEFBLOCKSTORAGEDRIVER@"
|
||||
|
||||
# Specifies cache-related options will be set to block devices or not.
|
||||
# Default false
|
||||
#block_device_cache_set = true
|
||||
|
||||
# Specifies cache-related options for block devices.
|
||||
# Denotes whether use of O_DIRECT (bypass the host page cache) is enabled.
|
||||
# Default false
|
||||
#block_device_cache_direct = true
|
||||
|
||||
# Specifies cache-related options for block devices.
|
||||
# Denotes whether flush requests for the device are ignored.
|
||||
# Default false
|
||||
#block_device_cache_noflush = true
|
||||
|
||||
# Enable iothreads (data-plane) to be used. This causes IO to be
|
||||
# handled in a separate IO thread. This is currently only implemented
|
||||
# for SCSI.
|
||||
|
Loading…
Reference in New Issue
Block a user