]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: port the perag discard code to handle generic groups
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:25 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:17 +0000 (13:36 -0800)
commitc79a5242f21d281568cea38b62adb42df72c33f1
treebbd43b29daa02bbf96e5782268d093e3cc5c4154
parent2a01d38b6f12c2a1d6462e31beac082fe7b17036
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