From 5b60bd077daca5b1b2ef467127e27bc91ad6802b Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 27 Oct 2013 21:05:18 +0100 Subject: [PATCH] Minor comments and output changes. --- Makefile.am | 4 ++-- check.c | 2 +- raid.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index dab3de6b..1dbebd91 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/check.c b/check.c index a6696370..865099e3 100644 --- a/check.c +++ b/check.c @@ -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"); } diff --git a/raid.c b/raid.c index 26c1e8d4..4e756aa1 100644 --- a/raid.c +++ b/raid.c @@ -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.