From 82c59efd65c721f59425460cb6fd875701e25cac Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Tue, 10 Jan 2023 14:22:04 +0800 Subject: [PATCH] runtime-rs: change cache mode from none to never New Rust virtiofsd's `cache` mode doesn't support `none` mode, we should use `never` to replace it. Fixes: #6018 Signed-off-by: Bin Liu --- .../crates/resource/src/share_fs/share_virtio_fs_standalone.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime-rs/crates/resource/src/share_fs/share_virtio_fs_standalone.rs b/src/runtime-rs/crates/resource/src/share_fs/share_virtio_fs_standalone.rs index e663cc029b..db421ada36 100644 --- a/src/runtime-rs/crates/resource/src/share_fs/share_virtio_fs_standalone.rs +++ b/src/runtime-rs/crates/resource/src/share_fs/share_virtio_fs_standalone.rs @@ -35,7 +35,7 @@ pub struct ShareVirtioFsStandaloneConfig { // virtio_fs_daemon is the virtio-fs vhost-user daemon path pub virtio_fs_daemon: String, - // virtio_fs_cache cache mode for fs version cache or "none" + // virtio_fs_cache cache mode for fs version cache pub virtio_fs_cache: String, // virtio_fs_extra_args passes options to virtiofsd daemon pub virtio_fs_extra_args: Vec,