]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: port the perag discard code to handle generic groups
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:35 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:44 +0000 (13:38 -0800)
commit0c271d906ebc7e2fb1e66e25f1ee52974f255ca2
treebbd43b29daa02bbf96e5782268d093e3cc5c4154
parente0b5b97dde8e4737d06cb5888abd88373abc22df
xfs: port the perag discard code to handle generic groups

Port xfs_discard_extents and its tracepoints to handle generic groups
instead of just perags.  This is needed to enable busy extent tracking
for rtgroups.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_discard.c
fs/xfs/xfs_trace.h