summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_drain.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-10-11 16:22:36 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-09 19:07:23 -0800
commit5f2897495a1f5381fda98b3bd3dd730f992ce787 (patch)
tree3d1a1ec407169fd001b53eeaaf0c9957d771335a /fs/xfs/xfs_drain.c
parentda4946fff7202696c4b9a9ec7098c5d02937e6c9 (diff)
xfs: use per-AG bitmaps to reap unused AG metadata blocks during repairrepair-reap-fixes_2022-11-09
The AGFL repair code uses a series of bitmaps to figure out where there are OWN_AG blocks that are not claimed by the free space and rmap btrees. These blocks become the new AGFL, and any overflow is reaped. The bitmaps current track xfs_fsblock_t even though we already know the AG number. In the last patch, we introduced a new bitmap "type" for tracking xfs_agblock_t extents. Port the reaping code and the AGFL repair to use this new type, which makes it very obvious what we're tracking. This also eliminates a bunch of unnecessary agblock <-> fsblock conversions. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_drain.c')
0 files changed, 0 insertions, 0 deletions