Re: [PATCH 2/4] xfs: define an in-memory btree for storing refcount bag info during repairs

Christoph Hellwig
2024-01-02T10:41:41Z

On Sun, Dec 31, 2023 at 12:19:49PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Create a new in-memory btree type so that we can store refcount bag info
> in a much more memory-efficient format.

Can you add a cursory explanation of what 'bag info' is? It took me
quite a while to figure this out by looking at the refcount_repair.c
file, and future readers or the commit log might be a lot less savy
in finding that information. The source file could also really use a
comment explaining the bag term and what is actually stored in it.