On Thu, Mar 27, 2025 at 02:59:24PM -0700, Leah Rumancik wrote:
From: "Darrick J. Wong" djwong@kernel.org
[ 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 djwong@kernel.org Reviewed-by: Dave Chinner dchinner@redhat.com Signed-off-by: Leah Rumancik leah.rumancik@gmail.com Acked-by: "Darrick J. Wong" djwong@kernel.org
This is to fix build fialure noted here: https://lore.kernel.org/stable/8c6125d7-363c-42b3-bdbb-f802cb8b4408@web.de/
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