Andrea Mazzoleni
|
524ffa00f2
|
Adds options -p and -o for scrub.
|
2013-08-22 23:03:13 +02:00 |
|
Andrea Mazzoleni
|
5ef045b074
|
Adds acknowledgments.
|
2013-08-22 23:00:01 +02:00 |
|
Andrea Mazzoleni
|
e8a120feb8
|
Fixes compilation in BigEndian architectures.
|
2013-08-22 21:41:41 +02:00 |
|
Andrea Mazzoleni
|
6878f3f28c
|
Encodes STAT_NSEC_INVALID as 0 adding 1 to other values.
|
2013-08-22 21:30:19 +02:00 |
|
Andrea Mazzoleni
|
adaf87a17d
|
Checks for zero count in scrub.
|
2013-08-22 21:18:50 +02:00 |
|
Andrea Mazzoleni
|
7fa1241b97
|
Adds some regression tests about comparison of text and binary content files.
|
2013-08-21 23:34:16 +02:00 |
|
Andrea Mazzoleni
|
27941f5b40
|
Writes in the text content file only the inf record with valid hash for CHG and DELETED.
|
2013-08-21 23:21:18 +02:00 |
|
Andrea Mazzoleni
|
b247524630
|
Updates some comments.
|
2013-08-21 22:34:22 +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
|
9ad388724e
|
Fixes some comments.
|
2013-08-21 22:04:10 +02:00 |
|
Andrea Mazzoleni
|
4921ff6f80
|
Saves in the content files info only for positions with at least one hash.
Also checks that when loading.
|
2013-08-21 22:03:09 +02:00 |
|
Andrea Mazzoleni
|
49bc1e0af7
|
Fixes the help screen.
|
2013-08-21 20:09:01 +02:00 |
|
Andrea Mazzoleni
|
9ca2637702
|
When reading in text mode adds the block info only if there is a block with a hash.
|
2013-08-21 20:08:11 +02:00 |
|
Andrea Mazzoleni
|
38f814b9bc
|
Reviews the TODO list.
|
2013-08-20 21:07:13 +02:00 |
|
Andrea Mazzoleni
|
6a4879caad
|
Uses the crc32q Intel instruction in x64 platforms.
|
2013-08-20 20:33:22 +02:00 |
|
Andrea Mazzoleni
|
28bdd0f7b7
|
Adds the speed test for CRC.
|
2013-08-20 18:55:54 +02:00 |
|
Andrea Mazzoleni
|
9324933be0
|
Changes again the binary format for hole and inf
|
2013-08-20 14:25:29 +02:00 |
|
Andrea Mazzoleni
|
cab5309fd2
|
Updates the content text write process to the new changes.
|
2013-08-20 13:06:18 +02:00 |
|
Andrea Mazzoleni
|
3fc1fd1d65
|
Drops old sign check for text content file.
|
2013-08-20 12:49:31 +02:00 |
|
Andrea Mazzoleni
|
ca52ecc4c5
|
Improves documentation.
|
2013-08-20 12:23:46 +02:00 |
|
Andrea Mazzoleni
|
9d00435b42
|
Uses the CRC_IV directly in the crc32c() function.
|
2013-08-19 12:45:12 +02:00 |
|
Andrea Mazzoleni
|
5136eb3719
|
Uses -1 as initial value for the CRC computation.
|
2013-08-19 12:28:19 +02:00 |
|
Andrea Mazzoleni
|
053bdd9952
|
Faster CRC generic implementation.
|
2013-08-19 12:13:08 +02:00 |
|
Andrea Mazzoleni
|
3a6128f248
|
Adds test vectors for the CRC.
|
2013-08-19 12:11:47 +02:00 |
|
Andrea Mazzoleni
|
9d0af268d4
|
Somes changes at the new binary format.
|
2013-08-19 11:19:26 +02:00 |
|
Andrea Mazzoleni
|
2a35b00d16
|
Adds extra checks when decoding binary integers.
|
2013-08-19 11:18:50 +02:00 |
|
Andrea Mazzoleni
|
9a57dd6dc8
|
Adds a test for the silent error fixing.
|
2013-08-18 20:30:10 +02:00 |
|
Andrea Mazzoleni
|
a774b62448
|
Adds scrub documentation.
|
2013-08-18 19:35:40 +02:00 |
|
Andrea Mazzoleni
|
367d243f63
|
Always recheck bad blocks in scrub.
|
2013-08-18 19:35:25 +02:00 |
|
Andrea Mazzoleni
|
746901d0be
|
Adds a the new -e, --filter-error option for fix and check.
|
2013-08-18 19:24:55 +02:00 |
|
Andrea Mazzoleni
|
746c829bec
|
When damaging files in the test, restore the time.
|
2013-08-18 18:03:22 +02:00 |
|
Andrea Mazzoleni
|
f2e6a0328a
|
Uses STAT_NSEC_INVALID in the portable interface instead of FILE_MTIME_NSEC_INVALID.
|
2013-08-18 18:02:25 +02:00 |
|
Andrea Mazzoleni
|
147b905495
|
Updates comments and documentation.
|
2013-08-18 17:21:39 +02:00 |
|
Andrea Mazzoleni
|
d8252ca683
|
Adds a note about clang use.
|
2013-08-17 18:37:55 +02:00 |
|
Andrea Mazzoleni
|
a0975cd070
|
Removes some unnecessary output in the test.
|
2013-08-17 18:37:33 +02:00 |
|
Andrea Mazzoleni
|
43e238ee71
|
Avoid to generate 0 as random number when dealing with size.
|
2013-08-17 18:23:26 +02:00 |
|
Andrea Mazzoleni
|
37ac46a284
|
Uses the fast crc32 instruction if SSE4.2 is available.
|
2013-08-17 17:38:18 +02:00 |
|
Andrea Mazzoleni
|
3698064040
|
Uses a binary content file.
|
2013-08-17 16:17:53 +02:00 |
|
Andrea Mazzoleni
|
d87f371a1d
|
Fixes again the parity size computation when reading.
|
2013-08-17 11:58:31 +02:00 |
|
Andrea Mazzoleni
|
235a9cbbf1
|
Removes references to old 'inv' blocks.
|
2013-08-16 22:16:49 +02:00 |
|
Andrea Mazzoleni
|
8f953903cc
|
Computes correctly the parity size when reading the content file.
|
2013-08-16 22:15:23 +02:00 |
|
Andrea Mazzoleni
|
8102df688b
|
Rejectes .gz support. Too slow.
|
2013-08-09 14:12:20 +02:00 |
|
Andrea Mazzoleni
|
d0671e87eb
|
Adds new test commands for saving the content file.
|
2013-08-09 14:12:08 +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
|
f528f74add
|
Revies output of status command.
|
2013-08-02 18:08:54 +02:00 |
|
Andrea Mazzoleni
|
7d3bfb13eb
|
Adds in TODO a new item for names including \r and \n chars.
|
2013-08-02 18:08:19 +02:00 |
|
Andrea Mazzoleni
|
865fc0c1f4
|
Adds a consistency check about missing previous hash.
|
2013-08-01 19:36:12 +02:00 |
|
Andrea Mazzoleni
|
0db2428132
|
On error prints the correct blk tag.
|
2013-08-01 19:04:47 +02:00 |
|