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

Commit d78780c

Browse files
committed
virtiofs: Disable DAX
virtiofs DAX support is not stable today, there are a few corner cases to make it default. Fixes: #2999 Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
1 parent 51d8592 commit d78780c

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
@@ -175,7 +175,8 @@ DEFSHAREDFS := virtio-9p
175175
DEFSHAREDFS_QEMU_VIRTIOFS := virtio-fs
176176
DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd
177177
# Default DAX mapping cache size in MiB
178-
DEFVIRTIOFSCACHESIZE := 1024
178+
#if value is 0, DAX is not enabled
179+
DEFVIRTIOFSCACHESIZE := 0
179180
DEFVIRTIOFSCACHE ?= auto
180181
DEFVIRTIOFSEXTRAARGS := []
181182
DEFENABLEIOTHREADS := false

0 commit comments

Comments
 (0)