From 4f1d23b65197c3fda622a78d82125a25511b72bd Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Thu, 8 Oct 2020 10:59:10 -0500 Subject: [PATCH] virtiofs: Disable DAX virtiofs DAX support is not stable today, there are a few corner cases to make it default. Fixes: #862 Fixes: #875 Signed-off-by: Jose Carlos Venegas Munoz --- src/runtime/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/Makefile b/src/runtime/Makefile index 8cf73abeb9..2a6730d4ef 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -173,7 +173,8 @@ DEFSHAREDFS := virtio-9p DEFSHAREDFS_QEMU_VIRTIOFS := virtio-fs DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd # Default DAX mapping cache size in MiB -DEFVIRTIOFSCACHESIZE := 1024 +#if value is 0, DAX is not enabled +DEFVIRTIOFSCACHESIZE := 0 DEFVIRTIOFSCACHE ?= auto # Format example: # [\"-o\", \"arg1=xxx,arg2\", \"-o\", \"hello world\", \"--arg3=yyy\"]