]> www.infradead.org Git - users/hch/xfsprogs.git/commit
repair: detect CRC errors in AG headers
authorDave Chinner <dchinner@redhat.com>
Thu, 1 May 2014 23:31:11 +0000 (09:31 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 1 May 2014 23:31:11 +0000 (09:31 +1000)
commit8f657d7ec7888c84a7180f4be93007f54865e65e
treecfb907e6f56f0553122530d64fb806de85501831
parent8e7e14be307411fab0d95270176004f93f8c0226
repair: detect CRC errors in AG headers

repair doesn't currently detect verifier errors in AG header
blocks - apart from the primary superblock they are not detected.
They are, fortunately, corrected in the important cases (AGF, AGI
and AGFL) because these structures are rebuilt in phase 5, but if
you run xfs_repair in checking mode it won't report them as bad.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/scan.c