Re: [PATCH 03/43] xfs: add a rtg_blocks helper

Darrick J. Wong
2024-12-15T18:10:37Z

On Fri, Dec 13, 2024 at 06:00:46AM +0100, Christoph Hellwig wrote:
> On Thu, Dec 12, 2024 at 01:12:25PM -0800, Darrick J. Wong wrote:
> > On Wed, Dec 11, 2024 at 09:54:28AM +0100, Christoph Hellwig wrote:
> > > Shortcut dereferencing the xg_block_count field in the generic group
> > > structure.
> > >
> > > Signed-off-by: Christoph Hellwig <hch@lst.de>
> >
> > Looks good, though I imagine there are a few more places where you could
> > use this helper?
>
> While the zoned code uses it a lot, there are surprisingly few uses
> in your baseline. But when reassuring me I noticed your recently added
> RT-aware failure notifier could use it, so at least one more.

<nod> Well at least it's an easy enough cleanup after all the dust
settles. :)

--D