Re: [PATCH 6.1] xfs: give xfs_extfree_intent its own perag reference

Greg KH <[email protected]> Fri, 28 Mar 2025 08:41:49 +0100
Newsgroups dev.linux.lists.xfs-stable,org.kernel.vger.stable
Message-ID <2025032842-enamel-tarot-6b5e@gregkh>
On Thu, Mar 27, 2025 at 02:59:24PM -0700, Leah Rumancik wrote:
> From: "Darrick J. Wong" <[email protected]>
> 
> [ Upstream commit f6b384631e1e3482c24e35b53adbd3da50e47e8f ]
> 
> Give the xfs_extfree_intent an passive reference to the perag structure
> data.  This reference will be used to enable scrub intent draining
> functionality in subsequent patches.  The space being freed must already
> be allocated, so we need to able to run even if the AG is being offlined
> or shrunk.
> 
> Signed-off-by: Darrick J. Wong <[email protected]>
> Reviewed-by: Dave Chinner <[email protected]>
> Signed-off-by: Leah Rumancik <[email protected]>
> Acked-by: "Darrick J. Wong" <[email protected]>
> ---
> 
> This is to fix build fialure noted here:
> https://lore.kernel.org/stable/[email protected]/
> 
> Tested on auto group x 9 configs with no regressions seen.
> 
> Already ack'd on xfs-stable list.

Now queued up, thanks.

greg k-h