• Amir Goldstein's avatar
    fuse: introduce FUSE_PASSTHROUGH capability · 7dc4e97a
    Amir Goldstein authored
    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: default avatarAmir Goldstein <amir73il@gmail.com>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
    7dc4e97a
Kconfig 1.9 KB