• C
    xfs: add CRC checks to the AGFL · 77c95bba
    Christoph Hellwig 提交于
    Add CRC checks, location information and a magic number to the AGFL.
    Previously the AGFL was just a block containing nothing but the
    free block pointers.  The new AGFL has a real header with the usual
    boilerplate instead, so that we can verify it's not corrupted and
    written into the right place.
    
    [dchinner@redhat.com] Added LSN field, reworked significantly to fit
    into new verifier structure and growfs structure, enabled full
    verifier functionality now there is a header to verify and we can
    guarantee an initialised AGFL.
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    Signed-off-by: NDave Chinner <dchinner@redhat.com>
    Reviewed-by: NBen Myers <bpm@sgi.com>
    Signed-off-by: NBen Myers <bpm@sgi.com>
    77c95bba
xfs_log_recover.c 105.9 KB