Re: [PATCH v6 2/2] fuse: add new function to invalidate cache for all inodes
From: Miklos Szeredi
Date: Tue Feb 18 2025 - 05:41:14 EST
On Tue, 18 Feb 2025 at 11:04, Luis Henriques <luis@xxxxxxxxxx> wrote:
> The problem I'm trying to solve is that, if a filesystem wants to ask the
> kernel to get rid of all inodes, it has to request the kernel to forget
> each one, individually. The specific filesystem I'm looking at is CVMFS,
> which is a read-only filesystem that needs to be able to update the full
> set of filesystem objects when a new generation snapshot becomes
> available.
Yeah, we talked about this use case. As I remember there was a
proposal to set an epoch, marking all objects for "revalidate needed",
which I think is a better solution to the CVMFS problem, than just
getting rid of unused objects.
Thanks,
Miklos