diff options
author | Amir Goldstein <amir73il@gmail.com> | 2024-02-09 17:57:17 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2024-02-23 19:36:32 +0300 |
commit | 7dc4e97a4f9a55bae6ed6ab3f96c92921259d59f (patch) | |
tree | 2232613c737e5709577dc4790ac884cb8d1a3891 /fs/fuse/Makefile | |
parent | aed918310ea2542059eeab6c74defca95c30f77b (diff) | |
download | linux-7dc4e97a4f9a55bae6ed6ab3f96c92921259d59f.tar.xz |
fuse: introduce FUSE_PASSTHROUGH capability
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>
Diffstat (limited to 'fs/fuse/Makefile')
-rw-r--r-- | fs/fuse/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/Makefile b/fs/fuse/Makefile index b734cc2a5e65..6e0228c6d0cb 100644 --- a/fs/fuse/Makefile +++ b/fs/fuse/Makefile @@ -10,5 +10,6 @@ obj-$(CONFIG_VIRTIO_FS) += virtiofs.o fuse-y := dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o ioctl.o fuse-y += iomode.o fuse-$(CONFIG_FUSE_DAX) += dax.o +fuse-$(CONFIG_FUSE_PASSTHROUGH) += passthrough.o virtiofs-y := virtio_fs.o |