Re: [PATCH 04/11] xfs: decide if inode needs inactivation

Christoph Hellwig
2021-03-15T18:48:57Z

On Wed, Mar 10, 2021 at 07:06:02PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Add a predicate function to decide if an inode needs (deferred)
> inactivation. Any file that has been unlinked or has speculative
> preallocations either for post-EOF writes or for CoW qualifies.
> This function will also be used by the upcoming deferred inactivation
> patch.

The helper looks good, but I'd just merge it into patch 6, without
that is isn't very helpful.