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