mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-30 08:52:39 +00:00 
			
		
		
		
	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 <bin@hyper.sh>
This commit is contained in:
		| @@ -35,7 +35,7 @@ pub struct ShareVirtioFsStandaloneConfig { | |||||||
|  |  | ||||||
|     // virtio_fs_daemon is the virtio-fs vhost-user daemon path |     // virtio_fs_daemon is the virtio-fs vhost-user daemon path | ||||||
|     pub virtio_fs_daemon: String, |     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, |     pub virtio_fs_cache: String, | ||||||
|     // virtio_fs_extra_args passes options to virtiofsd daemon |     // virtio_fs_extra_args passes options to virtiofsd daemon | ||||||
|     pub virtio_fs_extra_args: Vec<String>, |     pub virtio_fs_extra_args: Vec<String>, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user