Details
-
Technical task
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
Conf-sanity test_32 uses old file system images to verify that format changes have not occurred. We need this functionality for erasure coded files exactly like we have for fscrypt in order to ensure that the EC parity components can consistently be read and validated against the data components. This will also be a good test of EC parity verification code (probably with "lfs mirror verify").
This ticket is for adding that test. This can't be done until at least EC create and EC verify are done.
As with other conf-sanity test_32 tests, there needs to be changes to the image creation step to add EC-encoded files with a data checksum, as well as a check if such files exists and doing the EC verification on them, and possibly remove/corrupt one of the data stripes and then verify that EC reconstruction works from the parity. Running against old test_32 images that do not have EC files should not do EC verification on non-EC files, but it should be possible to add a new EC mirror to the existing striped files.