mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Some documentation changes.
Identation changes.
This commit is contained in:
parent
cfbe9343ae
commit
42ece4eb59
3 changed files with 20 additions and 10 deletions
20
HISTORY
20
HISTORY
|
|
@ -5,17 +5,25 @@ SnapRAID HISTORY
|
|||
==========
|
||||
* Fixed a bug in the check command when detecting garbage data over the
|
||||
expected end of the file. No special action is required to update.
|
||||
* Added RAID6 support, and allow to specify multiple content files.
|
||||
* Added a filtering include logic, where anything not explicitely included
|
||||
is excluded.
|
||||
* Changed the default checksum to Murmur3 hash. It's a lot faster than MD5.
|
||||
You can check the speed with the "snapraid -T" command.
|
||||
You can check its speed with the "snapraid -T" command.
|
||||
MD5 is still supported for backward compatibility.
|
||||
To convert to the new Murmur3 hash, simply remove the 'content' file,
|
||||
and start a new whole 'sync'.
|
||||
* Added RAID6 support. It's used the very good RAID6 library made by H. Peter Anvin
|
||||
also used in the Linux Kernel. It contains optimized implementations for SSE2
|
||||
and MMX.
|
||||
* Added support for multiple 'content' files. You can save extra copy to be able
|
||||
to verify the checksums also if you lose all the 'content' files in the parity
|
||||
drives.
|
||||
* Added a filtering include logic, where anything not explicitely included
|
||||
is excluded. For example, it allow to include only the files in a predefined
|
||||
set of directories.
|
||||
* The check command returns with an error code if any kind of error is present.
|
||||
Previously it was returning an error only if unrecoverable errors were
|
||||
present.
|
||||
* Opening the files in sequential mode in Windows. This should give a light
|
||||
speedup in Windows.
|
||||
* Opening the files in sequential mode in Windows. This should give a speedup
|
||||
in Windows.
|
||||
|
||||
1.0 2011/4
|
||||
==========
|
||||
|
|
|
|||
2
TODO
2
TODO
|
|
@ -7,6 +7,8 @@ This is a list of possible TODO for SnapRAID. The order is not relevant.
|
|||
|
||||
* Easy way to find files using a specified block.
|
||||
|
||||
* Implement a restore command to recover files, without the integrity check.
|
||||
|
||||
* When fixing, overwrite the present file only if the backuped one can be
|
||||
completely restored.
|
||||
|
||||
|
|
|
|||
|
|
@ -81,19 +81,19 @@ void MurmurHash3_x86_128(const void * key, unsigned len, uint32_t seed, void* ou
|
|||
uint32_t k3 = swap32(blocks[2]);
|
||||
uint32_t k4 = swap32(blocks[3]);
|
||||
|
||||
k1 *= c1; k1 = rotl32(k1,15); k1 *= c2; h1 ^= k1;
|
||||
k1 *= c1; k1 = rotl32(k1,15); k1 *= c2; h1 ^= k1;
|
||||
|
||||
h1 = rotl32(h1,19); h1 += h2; h1 = h1*5+0x561ccd1b;
|
||||
|
||||
k2 *= c2; k2 = rotl32(k2,16); k2 *= c3; h2 ^= k2;
|
||||
k2 *= c2; k2 = rotl32(k2,16); k2 *= c3; h2 ^= k2;
|
||||
|
||||
h2 = rotl32(h2,17); h2 += h3; h2 = h2*5+0x0bcaa747;
|
||||
|
||||
k3 *= c3; k3 = rotl32(k3,17); k3 *= c4; h3 ^= k3;
|
||||
k3 *= c3; k3 = rotl32(k3,17); k3 *= c4; h3 ^= k3;
|
||||
|
||||
h3 = rotl32(h3,15); h3 += h4; h3 = h3*5+0x96cd1c35;
|
||||
|
||||
k4 *= c4; k4 = rotl32(k4,18); k4 *= c1; h4 ^= k4;
|
||||
k4 *= c4; k4 = rotl32(k4,18); k4 *= c1; h4 ^= k4;
|
||||
|
||||
h4 = rotl32(h4,13); h4 += h1; h4 = h4*5+0x32ac3b17;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue