Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

Miklos Szeredi
2024-05-22T11:28:55Z

On Wed, 22 May 2024 at 12:16, Amir Goldstein <amir73il@gmail.com> wrote:

> The first open would cache the extent list in fuse_inode and
> second open would verify that the extent list matches.
>
> Last file close could clean the cache extent list or not - that
> is an API decision.

Well, current API clears the mapping, and I would treat the fi->fb as
a just a special case of the extent list. So by default I'd keep this
behavior, but perhaps it would make sense to optionally allow the
mapping to remain after the last close. For now this is probably not
relevant...

Thanks,
Miklos