diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-08-10 07:48:04 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-08-10 07:48:04 -0700 |
commit | 014ad53732d2bac34d21a251f3622a4da516e21b (patch) | |
tree | f9b4992eb13d93d826ee20edcfd4cc2d95230fe2 /tools/wmi | |
parent | 1c7ce115e521060819f6e9b6b6eb26ae0aee6596 (diff) |
xfs: use per-AG bitmaps to reap unused AG metadata blocks during repairrepair-reap-fixes-6.6_2023-08-10
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'tools/wmi')
0 files changed, 0 insertions, 0 deletions