Initial RAID6 support. Not yet complete.

Uses Murmur3 as default hash.
Check now returns and error even if only recoverable errors are present.
This commit is contained in:
Andrea Mazzoleni 2011-04-23 21:38:26 +02:00
parent ad70b7e560
commit 08831c6641
24 changed files with 1624 additions and 394 deletions

5
TODO
View file

@ -12,11 +12,16 @@ completely restored.
* Reduce memory occupation removing the flag field in the block structure.
* Provide an "include" logic in filtering.
* Add RAID6 redundancy support. There is the very good raid6 library from
H. Peter Anvin (hpa) in the Linux Kernel ready to use. See:
http://kernel.org/pub/linux/kernel/people/hpa/raid6.pdf
http://lxr.linux.no/#linux+v2.6.38/lib/raid6
* Recognize that a file is moved from one disk to another, and if the parity
data doesn't overlap, do not recompute it.
* Go multithread to speed up the MD5 computation. We can do it when syncing and
checking.