1# SPDX-License-Identifier: GPL-2.0-only
2config FUSE_FS
3	tristate "FUSE (Filesystem in Userspace) support"
4	select FS_POSIX_ACL
5	help
6	  With FUSE it is possible to implement a fully functional filesystem
7	  in a userspace program.
8
9	  There's also a companion library: libfuse2.  This library is available
10	  from the FUSE homepage:
11	  <https://github.com/libfuse/>
12	  although chances are your distribution already has that library
13	  installed if you've installed the "fuse" package itself.
14
15	  See <file:Documentation/filesystems/fuse.rst> for more information.
16	  See <file:Documentation/Changes> for needed library/utility version.
17
18	  If you want to develop a userspace FS, or if you want to use
19	  a filesystem based on FUSE, answer Y or M.
20
21config CUSE
22	tristate "Character device in Userspace support"
23	depends on FUSE_FS
24	help
25	  This FUSE extension allows character devices to be
26	  implemented in userspace.
27
28	  If you want to develop or use a userspace character device
29	  based on CUSE, answer Y or M.
30
31config VIRTIO_FS
32	tristate "Virtio Filesystem"
33	depends on FUSE_FS
34	select VIRTIO
35	help
36	  The Virtio Filesystem allows guests to mount file systems from the
37	  host.
38
39	  If you want to share files between guests or with the host, answer Y
40	  or M.
41
42config FUSE_DAX
43	bool "Virtio Filesystem Direct Host Memory Access support"
44	default y
45	select INTERVAL_TREE
46	depends on VIRTIO_FS
47	depends on FS_DAX
48	depends on DAX
49	help
50	  This allows bypassing guest page cache and allows mapping host page
51	  cache directly in guest address space.
52
53	  If you want to allow mounting a Virtio Filesystem with the "dax"
54	  option, answer Y.
55
56config FUSE_PASSTHROUGH
57	bool "FUSE passthrough operations support"
58	default y
59	depends on FUSE_FS
60	select FS_STACK
61	help
62	  This allows bypassing FUSE server by mapping specific FUSE operations
63	  to be performed directly on a backing file.
64
65	  If you want to allow passthrough operations, answer Y.
66