Commit graph

15 commits

Author SHA1 Message Date
Andrea Mazzoleni
524ffa00f2 Adds options -p and -o for scrub. 2013-08-22 23:03:13 +02:00
Andrea Mazzoleni
adaf87a17d Checks for zero count in scrub. 2013-08-22 21:18:50 +02:00
Andrea Mazzoleni
e0afd0edf7 Assumes also CHG blocks with a NULL hash without needing an info block.
Some refactoring and renaming of other hash functions to avoid misunderstanding.
2013-08-21 22:24:12 +02:00
Andrea Mazzoleni
9a57dd6dc8 Adds a test for the silent error fixing. 2013-08-18 20:30:10 +02:00
Andrea Mazzoleni
367d243f63 Always recheck bad blocks in scrub. 2013-08-18 19:35:25 +02:00
Andrea Mazzoleni
f8d5c6dedc Print error report only if something was processed. 2013-08-07 22:48:48 +02:00
Andrea Mazzoleni
069452680d In scrupt prints a report of the number of errors found. 2013-08-07 22:25:41 +02:00
Andrea Mazzoleni
c2f8b49153 Reviews some comments. 2013-08-07 20:14:28 +02:00
Andrea Mazzoleni
24e9b8863a In scrub doesn't report silent errors if they are caused by unsynched data. 2013-07-31 22:31:57 +02:00
Andrea Mazzoleni
30fabb7d50 Fixes some comments. 2013-07-30 20:49:08 +02:00
Andrea Mazzoleni
275ef2ed3c Implements an incremental rehash. 2013-07-01 23:08:25 +02:00
Andrea Mazzoleni
b558d9d831 Fixes the computation of the scrub ending block address. 2013-06-29 21:26:50 +02:00
Andrea Mazzoleni
33cf866699 Adds test for scrub. 2013-06-29 18:34:10 +02:00
Andrea Mazzoleni
1ddb24da46 Groups all the startup options in the new snapraid_option struct. 2013-06-29 18:11:36 +02:00
Andrea Mazzoleni
a32a1cd9a8 Adds the new status and scrub commands. 2013-06-29 17:53:40 +02:00