162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig FUSE_FS
362306a36Sopenharmony_ci	tristate "FUSE (Filesystem in Userspace) support"
462306a36Sopenharmony_ci	select FS_POSIX_ACL
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  With FUSE it is possible to implement a fully functional filesystem
762306a36Sopenharmony_ci	  in a userspace program.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci	  There's also a companion library: libfuse2.  This library is available
1062306a36Sopenharmony_ci	  from the FUSE homepage:
1162306a36Sopenharmony_ci	  <https://github.com/libfuse/>
1262306a36Sopenharmony_ci	  although chances are your distribution already has that library
1362306a36Sopenharmony_ci	  installed if you've installed the "fuse" package itself.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci	  See <file:Documentation/filesystems/fuse.rst> for more information.
1662306a36Sopenharmony_ci	  See <file:Documentation/Changes> for needed library/utility version.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	  If you want to develop a userspace FS, or if you want to use
1962306a36Sopenharmony_ci	  a filesystem based on FUSE, answer Y or M.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciconfig CUSE
2262306a36Sopenharmony_ci	tristate "Character device in Userspace support"
2362306a36Sopenharmony_ci	depends on FUSE_FS
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  This FUSE extension allows character devices to be
2662306a36Sopenharmony_ci	  implemented in userspace.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	  If you want to develop or use a userspace character device
2962306a36Sopenharmony_ci	  based on CUSE, answer Y or M.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig VIRTIO_FS
3262306a36Sopenharmony_ci	tristate "Virtio Filesystem"
3362306a36Sopenharmony_ci	depends on FUSE_FS
3462306a36Sopenharmony_ci	select VIRTIO
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  The Virtio Filesystem allows guests to mount file systems from the
3762306a36Sopenharmony_ci	  host.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci	  If you want to share files between guests or with the host, answer Y
4062306a36Sopenharmony_ci	  or M.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciconfig FUSE_DAX
4362306a36Sopenharmony_ci	bool "Virtio Filesystem Direct Host Memory Access support"
4462306a36Sopenharmony_ci	default y
4562306a36Sopenharmony_ci	select INTERVAL_TREE
4662306a36Sopenharmony_ci	depends on VIRTIO_FS
4762306a36Sopenharmony_ci	depends on FS_DAX
4862306a36Sopenharmony_ci	depends on DAX
4962306a36Sopenharmony_ci	help
5062306a36Sopenharmony_ci	  This allows bypassing guest page cache and allows mapping host page
5162306a36Sopenharmony_ci	  cache directly in guest address space.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ci	  If you want to allow mounting a Virtio Filesystem with the "dax"
5462306a36Sopenharmony_ci	  option, answer Y.
55