Re: [PATCH] fuse: skip lookup during atomic_open() when O_CREAT is set
From: Miklos Szeredi
Date: Mon Feb 23 2026 - 10:57:33 EST
On Mon, 23 Feb 2026 at 16:37, Bernd Schubert <bernd@xxxxxxxxxxx> wrote:
> After the discussion about LOOKUO_HANDLE my impression was actually that
> we want to use compounds for the atomic open.
I think we want to introduce an atomic operation that does a lookup +
an optional mknod, lets call this LOOKUP_CREATE_FH, this would return
a flag indicating whether the file was created or if it existed prior
to the operation.
Then, instead of the current CREATE operation there would be a
compound with LOOKUP_CREATE_FH + OPEN.
Does that make sense?
Thanks,
Miklos