Re: [PATCH RFC DRAFT DOESNOTBUILD] inode: free up more space

Christoph Hellwig
2025-07-21T06:14:17Z

On Fri, Jul 18, 2025 at 09:04:14AM -0700, Eric Biggers wrote:
> If done properly, fixing this would be great. I've tried to minimize
> the overhead of CONFIG_FS_ENCRYPTION and CONFIG_FS_VERITY when those
> features are not actually being used at runtime. The struct inode
> fields are the main case where we still don't do a good job at that.

Can you take a look if my idea of not allocating the verity data for
all inodes but just those where verity is enabled and then looking that
up using a rhashtable makes any sense?