On 1/19/22 6:22 PM, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Enhance mkfs and xfs_repair to run the crc32c self test when they start > up, and refuse to continue if the self test fails. We don't want to > format a filesystem if the checksum algorithm produces incorrect > results, and we especially don't want repair to tear a filesystem apart > because it thinks the checksum is wrong. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> Good idea. Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx>