Re: [PATCH 1/1] xfs: fix severe performance problems when fstrimming a subset of an AG

Christoph Hellwig
2024-03-27T11:35:12Z

On Tue, Mar 26, 2024 at 07:07:58PM -0700, Darrick J. Wong wrote:
> periodically to allow other threads to do work. This implementation
> avoids the worst problems of the original code, though it lacks the
> desirable attribute of freeing the biggest chunks first.

Do we really care much about freeing larger area first? I don't think
it really matters for FITRIM at all.

In other words, I suspect we're better off with only the by-bno
implementation.