mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Little changes at comments.
This commit is contained in:
parent
a92f4264df
commit
fafa641b42
3 changed files with 4 additions and 4 deletions
|
|
@ -100,7 +100,7 @@ void set_cauchy(unsigned char* matrix)
|
|||
/*
|
||||
* Next rows of the Cauchy matrix.
|
||||
*
|
||||
* We continue forming the Cauchy matrix with yj = 2^j obtaining :
|
||||
* Continue forming the Cauchy matrix with yj = 2^j obtaining :
|
||||
*
|
||||
* 1/(xi+yj) = 1/(2^-i + 2^j)
|
||||
*
|
||||
|
|
@ -235,7 +235,7 @@ int main(void)
|
|||
set_cauchy(matrix);
|
||||
|
||||
printf("/**\n");
|
||||
printf(" * Extended Cauchy matrix used to generate parity.\n");
|
||||
printf(" * Normalized Extended Cauchy matrix used to generate parity.\n");
|
||||
printf(" * This matrix is valid for up to %u parity with %u data disks.\n", PARITY, DISK);
|
||||
printf(" *\n");
|
||||
for(p=0;p<PARITY;++p) {
|
||||
|
|
|
|||
2
raid.c
2
raid.c
|
|
@ -671,7 +671,7 @@ void raidTP_ssse3(unsigned char** vbuf, unsigned data, unsigned size)
|
|||
asm volatile("pshufb %xmm5,%xmm6");
|
||||
asm volatile("pxor %xmm6,%xmm2");
|
||||
}
|
||||
|
||||
|
||||
/* first disk with all coefficients at 1 */
|
||||
asm volatile("movdqa %0,%%xmm4" : : "m" (vbuf[0][i]));
|
||||
|
||||
|
|
|
|||
2
tables.h
2
tables.h
|
|
@ -8797,7 +8797,7 @@ const unsigned char __attribute__((aligned(256))) gfinv[256] =
|
|||
};
|
||||
|
||||
/**
|
||||
* Extended Cauchy matrix used to generate parity.
|
||||
* Normalized Extended Cauchy matrix used to generate parity.
|
||||
* This matrix is valid for up to 6 parity with 251 data disks.
|
||||
*
|
||||
* 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue