Commit graph

481 commits

Author SHA1 Message Date
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
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
d8870cdd42 Adds a new --force-device option to allow to fix with disk with same device ID. 2013-07-26 14:50:52 +02:00
Andrea Mazzoleni
4c8b79b13c Reviews the TODO list. 2013-07-26 14:49:55 +02:00
Andrea Mazzoleni
e1cc6cbd8b Little documentation update. 2013-07-24 21:57:21 +02:00
Andrea Mazzoleni
ae348ae083 Disables mount point check in Windows. It's not clear how to check that. 2013-07-24 21:56:52 +02:00
Andrea Mazzoleni
e75b7c9bf3 Removes double space. 2013-07-24 21:56:37 +02:00
Andrea Mazzoleni
21362e9b01 Handles error ERROR_HANDLE_EOF (38) when getting the physical address of small files. 2013-07-24 21:41:16 +02:00
Andrea Mazzoleni
56ce2ff8d1 Fixes the autosize format example. 2013-07-20 09:12:15 +02:00
Andrea Mazzoleni
cefe021e60 Doesn't start sync if Ctrl+C is pressed. 2013-07-10 19:37:58 +02:00
Andrea Mazzoleni
7fa93e6c98 Removes unnecessary warning removal. 2013-07-10 19:37:36 +02:00
Andrea Mazzoleni
c5b26ed30a Marks the 4.0 version as BETA to avoid confusion. 2013-07-10 18:57:36 +02:00
Andrea Mazzoleni
3768ac329c Fixes root directory creation in Windows. 2013-07-10 18:33:19 +02:00
Andrea Mazzoleni
e8b2d359d6 Doesn't use the physical address in Wine. 2013-07-10 18:31:48 +02:00
Andrea Mazzoleni
275ef2ed3c Implements an incremental rehash. 2013-07-01 23:08:25 +02:00
Andrea Mazzoleni
2fdcecf350 More options in the test config files. 2013-07-01 21:10:35 +02:00
Andrea Mazzoleni
b558d9d831 Fixes the computation of the scrub ending block address. 2013-06-29 21:26:50 +02:00
Andrea Mazzoleni
6e607ace08 In check doesn't report as unrecoverable error the missing destination of hardlinks. 2013-06-29 18:53:58 +02:00
Andrea Mazzoleni
33cf866699 Adds test for scrub. 2013-06-29 18:34:10 +02:00
Andrea Mazzoleni
d93f2f0595 Some variables renaming and relocation. 2013-06-29 18:15:24 +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
9d1fbd8bfc Prints the address of blocks with silent errors. 2013-06-29 17:54:35 +02:00
Andrea Mazzoleni
a32a1cd9a8 Adds the new status and scrub commands. 2013-06-29 17:53:40 +02:00
Andrea Mazzoleni
edc885ac79 Adds support for the valgrind tool sgcheck. 2013-06-27 21:59:19 +02:00
Andrea Mazzoleni
7b70556e1d Tests only one time with the selttest. 2013-06-27 21:58:34 +02:00
Andrea Mazzoleni
c1f0d7c372 Adds tests for the new order commands. 2013-06-25 23:12:31 +02:00
Andrea Mazzoleni
277fc57216 Changes to version 4.0. Too many changes for a point release. 2013-06-25 22:49:59 +02:00
Andrea Mazzoleni
fef9ea7ccd Removes some warning in Windows builds. 2013-06-25 22:44:29 +02:00
Andrea Mazzoleni
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
e0164b29d1 Keeps track of the last sync time of each block. 2013-06-23 22:54:54 +02:00