Re: [PATCH 1/4] xfs: move lru refs to the btree ops structure

Christoph Hellwig
2024-01-02T10:39:54Z

On Sun, Dec 31, 2023 at 12:19:33PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Move the btree buffer LRU refcount to the btree ops structure so that we
> can eliminate the last bc_btnum switch in the generic btree code. We're
> about to create repair-specific btree types, and we don't want that

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>