Re: [RFC PATCH v3 6/8] fuse: implementation of lookup_handle+statx compound operation

From: Amir Goldstein

Date: Thu Apr 09 2026 - 10:04:23 EST


On Thu, Apr 9, 2026 at 4:27 AM Jingbo Xu <jefflexu@xxxxxxxxxxxxxxxxx> wrote:
>
> Many thanks for your work on this.
>
> Just FYI We are also interested in the kernel-maintained filehandle,
> which can dramatically help reduce the memory footprint on the FUSE
> server side.
>

Hi Jingbo,

I might have told you this before. I don't keep track of who I shared this with.
If you are implementing a passthough fs to a backing fs like ext4/xfs which
CAN open a file by inode number, you could already use this library
that I developed for our in house passthrough fs, to reduce memory footprint
of server:

https://github.com/amir73il/libfuse/commits/fuse_passthrough

It was my intention to adapt this library to also work with LOOKUP_HANDLE
to support more backing fs after LOOKUP_HANDLE is implemented.

Thanks,
Amir.