Re: [RFC][PATCH] cachefiles: Split and rename S_KERNEL_FILE and extend effects

From: Christoph Hellwig
Date: Fri Jan 28 2022 - 02:05:23 EST


On Fri, Jan 21, 2022 at 01:48:06PM +0000, David Howells wrote:
> Split S_KERNEL_FILE into two separate flags to do two separate jobs and give
> them new names[1][2]:

I strong disagreewith this. The flag is a horrible hack that does not
have any business to exist to start with. Splitting it an potentially
proliferating the use is not a good.

The proper fix would be to fix the cachefiles design to not rely on it
at all.