Re: [RFC PATCH v2 4/6] fuse: implementation of the FUSE_LOOKUP_HANDLE operation
From: Bernd Schubert
Date: Fri Jan 09 2026 - 10:57:02 EST
On 1/9/26 16:37, Miklos Szeredi wrote:
> On Fri, 9 Jan 2026 at 16:03, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
>
>> What about FUSE_CREATE? FUSE_TMPFILE?
>
> FUSE_CREATE could be decomposed to FUSE_MKOBJ_H + FUSE_STATX + FUSE_OPEN.
>
> FUSE_TMPFILE is special, the create and open needs to be atomic. So
> the best we can do is FUSE_TMPFILE_H + FUSE_STATX.
>
>> and more importantly READDIRPLUS dirents?
>
> I was never satisfied with FUSE_READDIRPLUS, I'd prefer something more
> flexible, where policy is moved from the kernel to the fuse server.
>
> How about a push style interface with FUSE_NOTIFY_ENTRY setting up the
> dentry and the inode?
Feasible, but we should extend io-uring to FUSE_NOTIFY first, otherwise
this will have a painful overhead.
Thanks,
Bernd