• Darrick J. Wong's avatar
    xfs: introduce bitmap type for AG blocks · a47bd1e0
    Darrick J. Wong authored
    Create a typechecked bitmap for extents within an AG.  Online repair
    uses bitmaps to store various different types of numbers, so let's make
    it obvious when we're storing xfs_agblock_t (and later xfs_fsblock_t)
    versus anything else.
    
    In subsequent patches, we're going to use agblock bitmaps to enhance the
    rmapbt checker to look for discrepancies between the rmapbt records and
    AG metadata block usage.
    Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
    a47bd1e0
repair.h 2.52 KB