Minor comments and output changes.

This commit is contained in:
Andrea Mazzoleni 2013-10-27 21:05:18 +01:00
parent 18deae30a4
commit 5b60bd077d
3 changed files with 4 additions and 4 deletions

View file

@ -355,7 +355,7 @@ endif
rm -r test/_a
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
echo --- Abort sync late with additions, delete them and recover with RAID6
echo --- This triggers the recoving with q using p to check the validity
echo --- This triggers the recovering with q using p to check the validity
cp -pR test/disk1/_a test/disk1/_c
cp -pR test/disk1/_a test/disk1/_d
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) --test-kill-after-sync -c $(CONF) sync
@ -366,7 +366,7 @@ endif
rm -r test/disk1/_d
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
echo --- Abort sync early with additions, delete them and recover with RAID6
echo --- This triggers the recoving with q using p to check the validity, but failing for new block being filled with zero
echo --- This triggers the recovering with q using p to check the validity, but failing for new block being filled with zero
cp -pR test/disk1/_a test/disk1/_c
cp -pR test/disk1/_a test/disk1/_d
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -t 1 --test-kill-after-sync -c $(CONF) sync

View file

@ -1516,7 +1516,7 @@ bail:
if (check)
printf("%8u unrecoverable errors\n", unrecoverable_error);
if (fix)
printf("Everything RECOVERED\n");
printf("Everything OK\n");
else
printf("WARNING! There are errors!\n");
}

2
raid.c
View file

@ -118,7 +118,7 @@
*
* This matrix supports 6 level of parity, one for each row, for up to 251
* data disks, one for each column, with all the 377,342,351,231 square
* submatrices not singular.
* submatrices not singular, verified also with brute-force.
*
* This matrix can be extended to support any number of parities, just adding
* additional rows, and removing one column for each row added.