Re: [RFC] [PATCH 00/50] xfs: per-ag centric allocation alogrithms

Christoph Hellwig
2022-06-16T12:01:44Z

On Sat, Jun 11, 2022 at 11:26:09AM +1000, Dave Chinner wrote:
>
> This series starts by driving the perag down into the AGI, AGF and
> AGFL access routines and unifies the perag structure initialisation
> with the high level AG header read functions. This largely replaces
> the xfs_mount/agno pair that is passed to all these functions with a
> perag, and in most places we already have a perag ready to pass in.

Btw, one neat thing would be versions of helpers like XFS_AG_DADDR
and XFS_AGB_TO_FSB that take the pag structure instead of the mp/agno
pair.