xref: /linux/fs/fuse/Kconfig (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
23ef7784eSAlexey Dobriyanconfig FUSE_FS
33ef7784eSAlexey Dobriyan	tristate "FUSE (Filesystem in Userspace) support"
460bcc88aSSeth Forshee	select FS_POSIX_ACL
53ef7784eSAlexey Dobriyan	help
63ef7784eSAlexey Dobriyan	  With FUSE it is possible to implement a fully functional filesystem
73ef7784eSAlexey Dobriyan	  in a userspace program.
83ef7784eSAlexey Dobriyan
9807185ebSRobert P. J. Day	  There's also a companion library: libfuse2.  This library is available
10807185ebSRobert P. J. Day	  from the FUSE homepage:
11c1b0c627SAndré Almeida	  <https://github.com/libfuse/>
12807185ebSRobert P. J. Day	  although chances are your distribution already has that library
13807185ebSRobert P. J. Day	  installed if you've installed the "fuse" package itself.
143ef7784eSAlexey Dobriyan
1572ef5e52SMauro Carvalho Chehab	  See <file:Documentation/filesystems/fuse.rst> for more information.
163ef7784eSAlexey Dobriyan	  See <file:Documentation/Changes> for needed library/utility version.
173ef7784eSAlexey Dobriyan
183ef7784eSAlexey Dobriyan	  If you want to develop a userspace FS, or if you want to use
193ef7784eSAlexey Dobriyan	  a filesystem based on FUSE, answer Y or M.
20807185ebSRobert P. J. Day
21807185ebSRobert P. J. Dayconfig CUSE
22807185ebSRobert P. J. Day	tristate "Character device in Userspace support"
23807185ebSRobert P. J. Day	depends on FUSE_FS
24807185ebSRobert P. J. Day	help
25807185ebSRobert P. J. Day	  This FUSE extension allows character devices to be
26807185ebSRobert P. J. Day	  implemented in userspace.
27807185ebSRobert P. J. Day
28807185ebSRobert P. J. Day	  If you want to develop or use a userspace character device
29807185ebSRobert P. J. Day	  based on CUSE, answer Y or M.
30a62a8ef9SStefan Hajnoczi
31a62a8ef9SStefan Hajnocziconfig VIRTIO_FS
32a62a8ef9SStefan Hajnoczi	tristate "Virtio Filesystem"
33a62a8ef9SStefan Hajnoczi	depends on FUSE_FS
34a62a8ef9SStefan Hajnoczi	select VIRTIO
35a62a8ef9SStefan Hajnoczi	help
36a62a8ef9SStefan Hajnoczi	  The Virtio Filesystem allows guests to mount file systems from the
37a62a8ef9SStefan Hajnoczi	  host.
38a62a8ef9SStefan Hajnoczi
39a62a8ef9SStefan Hajnoczi	  If you want to share files between guests or with the host, answer Y
40a62a8ef9SStefan Hajnoczi	  or M.
411dd53957SVivek Goyal
421dd53957SVivek Goyalconfig FUSE_DAX
431dd53957SVivek Goyal	bool "Virtio Filesystem Direct Host Memory Access support"
441dd53957SVivek Goyal	default y
45c2d0ad00SVivek Goyal	select INTERVAL_TREE
461dd53957SVivek Goyal	depends on VIRTIO_FS
471dd53957SVivek Goyal	depends on FS_DAX
48afd586f0SChristoph Hellwig	depends on DAX
491dd53957SVivek Goyal	help
501dd53957SVivek Goyal	  This allows bypassing guest page cache and allows mapping host page
511dd53957SVivek Goyal	  cache directly in guest address space.
521dd53957SVivek Goyal
531dd53957SVivek Goyal	  If you want to allow mounting a Virtio Filesystem with the "dax"
541dd53957SVivek Goyal	  option, answer Y.
55*7dc4e97aSAmir Goldstein
56*7dc4e97aSAmir Goldsteinconfig FUSE_PASSTHROUGH
57*7dc4e97aSAmir Goldstein	bool "FUSE passthrough operations support"
58*7dc4e97aSAmir Goldstein	default y
59*7dc4e97aSAmir Goldstein	depends on FUSE_FS
60*7dc4e97aSAmir Goldstein	select FS_STACK
61*7dc4e97aSAmir Goldstein	help
62*7dc4e97aSAmir Goldstein	  This allows bypassing FUSE server by mapping specific FUSE operations
63*7dc4e97aSAmir Goldstein	  to be performed directly on a backing file.
64*7dc4e97aSAmir Goldstein
65*7dc4e97aSAmir Goldstein	  If you want to allow passthrough operations, answer Y.
66