From 51d85922472fd0e3c49c65b5fab64a67d1e251eb Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Fri, 5 Jun 2020 18:41:22 +0000 Subject: [PATCH] virtiofsd: Use cache=auto Today for virtiofsd kata sets by default `cache=always`. This option is useful for performance but if the shared files are modified from the host changes are not updated in the guest as virtiofsd uses cached value all time. This patch changes to `cache=auto` to fix consistency issues. The option can still be set to always if it is wanted by the user. Fixes: #2748 Signed-off-by: Jose Carlos Venegas Munoz --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a91686eb18..d76364854c 100644 --- a/Makefile +++ b/Makefile @@ -176,7 +176,7 @@ DEFSHAREDFS_QEMU_VIRTIOFS := virtio-fs DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd # Default DAX mapping cache size in MiB DEFVIRTIOFSCACHESIZE := 1024 -DEFVIRTIOFSCACHE := always +DEFVIRTIOFSCACHE ?= auto DEFVIRTIOFSEXTRAARGS := [] DEFENABLEIOTHREADS := false DEFENABLEMEMPREALLOC := false