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

From: Linus Torvalds
Date: Fri Oct 22 2021 - 15:21:50 EST


On Fri, Oct 22, 2021 at 8:58 AM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> David Howells (52):
> fscache_old: Move the old fscache driver to one side
> fscache_old: Rename CONFIG_FSCACHE* to CONFIG_FSCACHE_OLD*
> cachefiles_old: Move the old cachefiles driver to one side

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.

Linus