Re: [PATCH v5 0/3] FUSE: Implement atomic lookup + open/create

From: Miklos Szeredi
Date: Thu May 19 2022 - 09:14:02 EST


On Thu, 19 May 2022 at 11:39, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> Apparently in all of these cases we are doing at least one request, so
> it would make sense to make them uniform:
>
> [not cached]
> ->atomic_open()
> CREATE_EXT
>
> [cached]
> ->d_revalidate()
> return 0

Note to self: invalidating a valid positive dentry would break things.

Revalidation would need to be moved into ->atomic_open(), which is a
bigger surgery. Oh well...

Thanks,
Miklos