]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: remove xarray mark for reclaimable zones
authorHans Holmberg <hans.holmberg@wdc.com>
Fri, 31 Oct 2025 08:29:48 +0000 (09:29 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 12 Nov 2025 10:10:50 +0000 (11:10 +0100)
commitbf3b8e915215ef78319b896c0ccc14dc57dac80f
tree7e6200dd18540f5a8c1775fa5c0781e546fd22bb
parent6731f85d38aa476275183ccdd73527cd6d7f3297
xfs: remove xarray mark for reclaimable zones

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 <hans.holmberg@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/xfs_zone_alloc.c
fs/xfs/xfs_zone_gc.c
fs/xfs/xfs_zone_priv.h
fs/xfs/xfs_zone_space_resv.c