Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system
From: Miklos Szeredi
Date: Wed May 22 2024 - 07:29:05 EST
On Wed, 22 May 2024 at 12:16, Amir Goldstein <amir73il@xxxxxxxxx> 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