Re: [RFC PATCH] fuse: support cache revalidation in writeback_cache mode

From: Miklos Szeredi
Date: Mon Apr 25 2022 - 08:41:37 EST

On Fri, 25 Mar 2022 at 14:23, Jiachen Zhang
<zhangjiachen.jaycee@xxxxxxxxxxxxx> wrote:
> Hi all,
> This RFC patch implements attr cache and data cache revalidation for
> fuse writeback_cache mode in kernel. Looking forward to any suggestions
> or comments on this feature.

Quick question before going into the details: could the cache
revalidation be done in the userspace filesystem instead, which would
set/clear FOPEN_KEEP_CACHE based on the result of the revalidation?