Re: [PATCH v2 00/53] fscache: Rewrite index API and management system

From: David Howells
Date: Fri Oct 22 2021 - 15:40:40 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Honestly, I don't see the point of this when it ends up just being
> dead code basically immediately.
>
> You don't actually support picking one or the other at build time,
> just a hard switch-over.
>
> That makes the old fscache driver useless. You can't say "use the old
> one because I don't trust the new". You just have a legacy
> implementation with no users.

What's the best way to do this? Is it fine to disable caching in all the
network filesystems and then directly remove the fscache and cachefiles
drivers and replace them? It won't stop the network filesystems actually
working - it'll just mean that they don't do any caching until converted and
have caching reenabled.

David