Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 2f1219f

Browse files
committed
virtiofs: Disable DAX
virtiofs DAX support is not stable today, there are a few corner cases to make it default. Depends-on: github.com/kata-containers/tests#2924 Fixes: #2999 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
1 parent 6da3662 commit 2f1219f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ DEFSHAREDFS := virtio-9p
176176
DEFSHAREDFS_QEMU_VIRTIOFS := virtio-fs
177177
DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd
178178
# Default DAX mapping cache size in MiB
179-
DEFVIRTIOFSCACHESIZE := 1024
179+
#if value is 0, DAX is not enabled
180+
DEFVIRTIOFSCACHESIZE := 0
180181
DEFVIRTIOFSCACHE ?= auto
181182
# Format example:
182183
# [\"-o\", \"arg1=xxx,arg2\", \"-o\", \"hello world\", \"--arg3=yyy\"]

0 commit comments

Comments
 (0)