7dc4e97a4f
FUSE_PASSTHROUGH capability to passthrough FUSE operations to backing files will be made available with kernel config CONFIG_FUSE_PASSTHROUGH. When requesting FUSE_PASSTHROUGH, userspace needs to specify the max_stack_depth that is allowed for FUSE on top of backing files. Introduce the flag FOPEN_PASSTHROUGH and backing_id to fuse_open_out argument that can be used when replying to OPEN request, to setup passthrough of io operations on the fuse inode to a backing file. Introduce a refcounted fuse_backing object that will be used to associate an open backing file with a fuse inode. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
66 lines
1.9 KiB
Plaintext
66 lines
1.9 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config FUSE_FS
|
|
tristate "FUSE (Filesystem in Userspace) support"
|
|
select FS_POSIX_ACL
|
|
help
|
|
With FUSE it is possible to implement a fully functional filesystem
|
|
in a userspace program.
|
|
|
|
There's also a companion library: libfuse2. This library is available
|
|
from the FUSE homepage:
|
|
<https://github.com/libfuse/>
|
|
although chances are your distribution already has that library
|
|
installed if you've installed the "fuse" package itself.
|
|
|
|
See <file:Documentation/filesystems/fuse.rst> for more information.
|
|
See <file:Documentation/Changes> for needed library/utility version.
|
|
|
|
If you want to develop a userspace FS, or if you want to use
|
|
a filesystem based on FUSE, answer Y or M.
|
|
|
|
config CUSE
|
|
tristate "Character device in Userspace support"
|
|
depends on FUSE_FS
|
|
help
|
|
This FUSE extension allows character devices to be
|
|
implemented in userspace.
|
|
|
|
If you want to develop or use a userspace character device
|
|
based on CUSE, answer Y or M.
|
|
|
|
config VIRTIO_FS
|
|
tristate "Virtio Filesystem"
|
|
depends on FUSE_FS
|
|
select VIRTIO
|
|
help
|
|
The Virtio Filesystem allows guests to mount file systems from the
|
|
host.
|
|
|
|
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
|
|
select INTERVAL_TREE
|
|
depends on VIRTIO_FS
|
|
depends on FS_DAX
|
|
depends on DAX
|
|
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.
|
|
|
|
config FUSE_PASSTHROUGH
|
|
bool "FUSE passthrough operations support"
|
|
default y
|
|
depends on FUSE_FS
|
|
select FS_STACK
|
|
help
|
|
This allows bypassing FUSE server by mapping specific FUSE operations
|
|
to be performed directly on a backing file.
|
|
|
|
If you want to allow passthrough operations, answer Y.
|