From d3086339aa16112f19fc95360efd27b7065314e2 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 2 Nov 2013 15:55:57 +0100 Subject: [PATCH] Documentation and comment changes. --- HISTORY | 7 ++-- mktables.c | 5 +-- mktest.c | 8 +++- raid.c | 76 +++++++++++++++++------------------ snapraid.1 | 28 ++++++------- snapraid.conf.example | 22 +++++----- snapraid.conf.example.windows | 10 ++--- snapraid.d | 28 ++++++------- snapraid.txt | 28 ++++++------- util.c | 1 - 10 files changed, 106 insertions(+), 107 deletions(-) diff --git a/HISTORY b/HISTORY index afee144e..342f80da 100644 --- a/HISTORY +++ b/HISTORY @@ -3,10 +3,9 @@ SnapRAID HISTORY 5.0 2013/11 (BETA) ================== - * Added support for RAIDTP (Triple Parity), RAIDQP (Quad Parity), - RAIDPP (Penta Parity) and RAIDHP (Hexa Parity). - Take care that to get good performance for RAIDTP and beyond you - need a CPU with SSSE3 support. + * Added support for up to six level of parity. Take care that to get + good performance for triple parity and beyond you need a CPU with + SSSE3 support. * Faster RAID5 and RAID6 computation for ARM 64 bit CPUs. * In sync, if a silent error is found, directly mark the block as bad like in scrub, and continue with the sync process. diff --git a/mktables.c b/mktables.c index 2f8e85a5..e0a5b124 100644 --- a/mktables.c +++ b/mktables.c @@ -60,7 +60,7 @@ unsigned char gfinv[256]; #define DISK (257-PARITY) /** - * Setup the Normalized Extended Cauchy matrix used to generate the parity. + * Setup the Cauchy matrix used to generate the parity. */ void set_cauchy(unsigned char* matrix) { @@ -108,7 +108,6 @@ void set_cauchy(unsigned char* matrix) */ y = 2; for(j=0;j