diff --git a/src/libs/kata-types/src/annotations/mod.rs b/src/libs/kata-types/src/annotations/mod.rs index 83c36d2f7e..c8d63125b9 100644 --- a/src/libs/kata-types/src/annotations/mod.rs +++ b/src/libs/kata-types/src/annotations/mod.rs @@ -266,7 +266,7 @@ pub const KATA_ANNO_CFG_HYPERVISOR_SHARED_FS: &str = /// A sandbox annotations to specify virtio-fs vhost-user daemon path. pub const KATA_ANNO_CFG_HYPERVISOR_VIRTIO_FS_DAEMON: &str = "io.katacontainers.config.hypervisor.virtio_fs_daemon"; -/// A sandbox annotation to specify the cache mode for fs version cache or "none". +/// A sandbox annotation to specify the cache mode for fs version cache. pub const KATA_ANNO_CFG_HYPERVISOR_VIRTIO_FS_CACHE: &str = "io.katacontainers.config.hypervisor.virtio_fs_cache"; /// A sandbox annotation to specify the DAX cache size in MiB. diff --git a/src/libs/kata-types/src/config/hypervisor/mod.rs b/src/libs/kata-types/src/config/hypervisor/mod.rs index b7dd9f68c5..aba5c751b6 100644 --- a/src/libs/kata-types/src/config/hypervisor/mod.rs +++ b/src/libs/kata-types/src/config/hypervisor/mod.rs @@ -767,7 +767,7 @@ pub struct SharedFsInfo { pub virtio_fs_extra_args: Vec, /// Cache mode: - /// - none: Metadata, data, and pathname lookup are not cached in guest. They are always + /// - never: Metadata, data, and pathname lookup are not cached in guest. They are always /// fetched from host and any changes are immediately pushed to host. /// - auto: Metadata and pathname lookup cache expires after a configured amount of time /// (default is 1 second). Data is cached while the file is open (close to open consistency).