Re: [PATCH] cachefiles,netfs: sunset ondemand mode

Gao Xiang <[email protected]> Wed, 8 Jul 2026 03:05:30 +0800
Newsgroups dev.linux.lists.netfs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <ak1N-lyu5YZSM_99@debian>
Hi Christian,

On Tue, Jul 07, 2026 at 08:59:17PM +0200, Christian Brauner wrote:
> > It was an effort to enhance fscache as a kernel cache for lazy
> > pulling (at least according to previous Incremental FS discussion [1])
> > and EROFS over fscache was the in-tree user of this mode.
> > 
> > fscache has since evolved to be netfslib-oriented, serving network
> > filesystem inodes via the netfs library, but EROFS never acts as a
> > network filesystem and we need to cache golden filesystem images rather
> > than individual EROFS inodes.
> > 
> > Since EROFS over fscache is now removed, clean up netfs/fscache/
> > cachefiles upstream too.
> > 
> > [1] https://lore.kernel.org/r/CAOQ4uxi4dzxArY24YO=+kBCK2gGoq3Ptb8WkzCqSogPgU_R3dQ@mail.gmail.com
> > 
> > Signed-off-by: Gao Xiang <[email protected]>
> 
> Seems sensible to me. So I'll take it unless David has objections.

I hope David can ack it too. I didn't test this patch
seriously since I have no proper environment to set up
netfs although it should be a trivial removal.

Thanks,
Gao Xiang

> 
> -- 
> Christian Brauner <[email protected]>