aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/Kconfig
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2020-08-19 18:19:47 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2020-09-10 11:39:22 +0200
commit1dd539577c42b67da796e2e758e04171bb889779 (patch)
treeec3e67b9b630f9803c9f01d8ebaabb9a9db3ea1d /fs/fuse/Kconfig
parentvirtiofs: set up virtio_fs dax_device (diff)
downloadlinux-dev-1dd539577c42b67da796e2e758e04171bb889779.tar.xz
linux-dev-1dd539577c42b67da796e2e758e04171bb889779.zip
virtiofs: add a mount option to enable dax
Add a mount option to allow using dax with virtio_fs. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/Kconfig')
-rw-r--r--fs/fuse/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/fuse/Kconfig b/fs/fuse/Kconfig
index 0156dc8aa646..fddd40630077 100644
--- a/fs/fuse/Kconfig
+++ b/fs/fuse/Kconfig
@@ -38,3 +38,16 @@ config VIRTIO_FS
If you want to share files between guests or with the host, answer Y
or M.
+
+config FUSE_DAX
+ bool "Virtio Filesystem Direct Host Memory Access support"
+ default y
+ depends on VIRTIO_FS
+ depends on FS_DAX
+ depends on DAX_DRIVER
+ help
+ This allows bypassing guest page cache and allows mapping host page
+ cache directly in guest address space.
+
+ If you want to allow mounting a Virtio Filesystem with the "dax"
+ option, answer Y.