Re: [PATCH v5 1/3] fuse: add compound command to combine multiple requests

From: Miklos Szeredi

Date: Thu Feb 12 2026 - 06:56:08 EST


On Thu, 12 Feb 2026 at 11:43, Bernd Schubert <bernd@xxxxxxxxxxx> wrote:

> I think you mean FUSE_CREATE?

Yes.

> Which is create+getattr, but always
> preceded by FUSE_LOOKUP is always sent first?

Maybe LOOKUP is always sent because otherwise FMODE_CREATED may not be
(even approximately) correct. Even if LOOKUP is sent, the file might
have been created remotely and hence FMODE_CREATED be incorrect. The
only way to fix this is to return this flag from CREATE.

> Horst is currently working
> on full atomic open based on compounds, i.e. a totally new patch set to
> the earlier versions. With that LOOKUP

I'm saying that LOOKUP is just unnecessary. Maybe I'm missing
something, though.

Thanks,
Miklos