From: Hans Holmberg Date: Sun, 22 Feb 2026 22:41:01 +0000 (-0800) Subject: xfs: remove xarray mark for reclaimable zones X-Git-Tag: v6.19.0~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=396517b382aa161c045909379610a3ee991c8749;p=xfsprogs-dev.git xfs: remove xarray mark for reclaimable zones Source kernel commit: bf3b8e915215ef78319b896c0ccc14dc57dac80f We can easily check if there are any reclaimble zones by just looking at the used counters in the reclaim buckets, so do that to free up the xarray mark we currently use for this purpose. Signed-off-by: Hans Holmberg Reviewed-by: Christoph Hellwig Signed-off-by: Carlos Maiolino --- diff --git a/libxfs/xfs_rtgroup.h b/libxfs/xfs_rtgroup.h index a94e925a..03f1e249 100644 --- a/libxfs/xfs_rtgroup.h +++ b/libxfs/xfs_rtgroup.h @@ -64,12 +64,6 @@ struct xfs_rtgroup { */ #define XFS_RTG_FREE XA_MARK_0 -/* - * For zoned RT devices this is set on groups that are fully written and that - * have unused blocks. Used by the garbage collection to pick targets. - */ -#define XFS_RTG_RECLAIMABLE XA_MARK_1 - static inline struct xfs_rtgroup *to_rtg(struct xfs_group *xg) { return container_of(xg, struct xfs_rtgroup, rtg_group);