Commit graph

200 commits

Author SHA1 Message Date
Andrea Mazzoleni
51af8931b7 Add support for multithread data and parity reading in scrub 2016-01-09 10:18:14 +01:00
Andrea Mazzoleni
c9b97b48bf Add some more regression testing for multi threads 2016-01-01 19:24:48 +01:00
Andrea Mazzoleni
aef6945501 Ensure that in regression there is a zero file when required 2015-12-31 18:03:48 +01:00
Andrea Mazzoleni
bebb2923cf In regression testing avoid spreading rehash
It could affect the recovering stragety of aborted sync,
because at that point you don't known anymore that hash
was in use.
2015-12-31 18:03:38 +01:00
Andrea Mazzoleni
9ab88cabf8 During make check prints message prepending ==== 2015-12-31 14:45:23 +01:00
Andrea Mazzoleni
776c6a48ef Add the new --no-warnings option for release 2015-12-28 14:49:10 +01:00
Andrea Mazzoleni
cacc1cb0ce Autorename disks using UUID for matching 2015-12-28 13:55:22 +01:00
Andrea Mazzoleni
06e0954d5e Add version support also at the source distribution 2015-12-19 10:07:20 +01:00
Andrea Mazzoleni
1505c1f755 Warn that errors in make check are expected 2015-12-12 18:24:52 +01:00
Andrea Mazzoleni
7313e3d9d0 In case of the "Path too long" message prints the stacktrace 2015-12-12 17:10:28 +01:00
Andrea Mazzoleni
fcc3894667 Add regression test for UUID change 2015-12-10 22:51:16 +01:00
Andrea Mazzoleni
a66ccb5cc1 Some more regression tests for move/copy/invalidate 2015-12-01 23:44:06 +01:00
Andrea Mazzoleni
a79052baa6 Add a new --test-no-warnings option
It disables annoying warnings that expert user don't
want to see.
2015-11-24 18:49:20 +01:00
Andrea Mazzoleni
5da8020121 Use a different command to generate an empty file
The previous use of head was not supported in Mac OS X.
2015-11-19 20:43:38 +01:00
Andrea Mazzoleni
6b55d2a292 Add extra assertions and consistency checks 2015-11-16 22:54:00 +01:00
Andrea Mazzoleni
40265401d3 Rename the --percentage option to --plan
The old --percentage is still supported, but not documented anymore.
2015-11-10 19:37:23 +01:00
Andrea Mazzoleni
1917814d2d Restore the default scrub behaviour of the previous version
If the user like to scrub new blocks, he can now use the -p new
option, and then call again scrub with a percentage to scrub the
old blocks.

Scrubbing old and new blocks are two different operations, and make
sense to keep them separated. Mixing them could instead raise
problematic issues, like not being able to predict the time required
for a full scrub cycle, as it depends also on the amount of synced
data.
2015-11-09 23:34:41 +01:00
Andrea Mazzoleni
405a3648e0 Add helgrind and drd checkers 2015-10-30 22:32:49 +01:00
Andrea Mazzoleni
ec0f14d18f Add extra testing of the --force-device option 2015-10-18 23:02:38 +02:00
Andrea Mazzoleni
2b69cfa073 Extend the disk filtering to parity disk
You can now fix a specific parity disk,
without touching the others.
2015-10-17 17:36:40 +02:00
Andrea Mazzoleni
61f730497a Better tests for hard/symlinks 2015-10-14 21:51:35 +02:00
Andrea Mazzoleni
913afa0d7a Add descriptive tags in the regression test 2015-10-09 19:09:07 +02:00
Andrea Mazzoleni
aa34b76203 Add a new test-read command for speed measurement 2015-10-08 19:00:55 +02:00
Andrea Mazzoleni
610c59e1d8 Fix an inconsistency check about not mapped copied files 2015-10-07 23:18:06 +02:00
Andrea Mazzoleni
25fe6a252c Extend filesystem support for deallocation in the middle
This could happen in some special cases
2015-10-05 22:48:16 +02:00
Andrea Mazzoleni
9bc5f9e5ce Change the internal mapping to a tree of chunk
This is intended to save memory as now we can use a fixed
block of 17 bytes to store the block information, compared
to the previous 28/36 bytes.
2015-10-04 23:17:13 +02:00
Andrea Mazzoleni
23983d6e9c Drop text file support 2015-10-01 23:24:44 +02:00
Andrea Mazzoleni
49bcad5448 Extend the -h option to check also copied/moved files 2015-09-29 22:31:13 +02:00
Andrea Mazzoleni
50eceaa7ec Add more tests for the new -p option 2015-09-27 15:27:26 +02:00
Andrea Mazzoleni
d493277ea1 Reject invalid filter specifications 2015-08-03 19:31:07 +02:00
Andrea Mazzoleni
5c5e80a239 Change the return code for 'diff' if a sync is required 2015-04-28 19:15:16 +02:00
Andrea Mazzoleni
57b7d0be95 Drop hdparm use replaced by smartctl even for "down" command 2015-04-09 21:16:06 +02:00
Andrea Mazzoleni
99138c402e Change "test-devices" to "devices" in the test 2015-04-06 17:18:15 +02:00
Andrea Mazzoleni
3dde106f6d Add extra testing for the new 'smart' command 2015-03-31 23:47:34 +02:00
Andrea Mazzoleni
7bdee2c1d9 Add new raid_check() and raid_scan() functions
They are aimed to find the broken blocks using the extra
redundancy information.
2015-03-21 17:03:55 +01:00
Andrea Mazzoleni
f197cfbe45 Fix the regression test after diff command changes 2015-03-18 08:16:47 +01:00
Andrea Mazzoleni
83d967e2c0 Change "diff" to return an error if a "sync" is required 2015-03-02 23:01:15 +01:00
Andrea Mazzoleni
5812ec8bd8 Use standard smartctl.exe 2015-02-27 23:33:16 +01:00
Andrea Mazzoleni
e56de653da Introduce a new messaging system 2015-02-22 14:31:03 +01:00
Andrea Mazzoleni
fa5f31ddf9 Move stream implementation to a specific source file 2015-02-21 09:00:34 +01:00
Andrea Mazzoleni
d4a92f4918 Add additional regression test for streams 2015-02-20 19:07:19 +01:00
Andrea Mazzoleni
14c8307ed4 Extend the "smart" and "down" command to Windows
Now we are able to detect what low level device is associated
to the high level volume.
2015-02-15 18:34:27 +01:00
Andrea Mazzoleni
467bf0256b Add preliminary Windows support for "smart" command 2015-01-24 19:17:34 +01:00
Andrea Mazzoleni
61117794b5 Print full stats only if verbose is specified 2015-01-24 14:10:51 +01:00
Andrea Mazzoleni
f974a8378b Add error control at the smart command 2015-01-23 22:59:29 +01:00
Andrea Mazzoleni
16b872e30c Refactors the new spin support with some rename and function splitting. 2015-01-11 17:43:31 +01:00
Andrea Mazzoleni
ffe7f6fa57 Adds new files support.c/h for low level support functions. 2015-01-02 18:52:04 +01:00
Andrea Mazzoleni
b24807704e Adds preliminary support for spinning up and down commands. 2015-01-02 15:53:15 +01:00
Andrea Mazzoleni
1a6338a169 Less error generation in the regression test. 2014-12-29 19:58:44 +01:00
Andrea Mazzoleni
f0a09de900 Less verbose output in the regression test. 2014-12-29 19:35:21 +01:00