Andrea Mazzoleni
0dc5904d5d
Use dd instead of head to be compatible with OpenBSD
2023-06-26 19:16:48 +02:00
Andrea Gelmini
986e9b4131
Fix typos
2020-05-26 12:50:15 +02:00
Andrea Mazzoleni
b725333a49
Add MetroHash128 for speed measurement
2020-04-24 21:02:45 +02:00
Andrea Mazzoleni
58a7375661
Use todos instead of utod
...
This tool is more common.
2017-10-27 23:21:21 +02:00
Andrea Mazzoleni
75068962d0
Add build script for Tea-CI
2016-11-15 18:33:46 +01:00
Andrea Mazzoleni
31a8dc9a13
Comply wih the autoconf manual about SYSCONFDIR
...
The manual says to allow to configure the dirs when calling
make, meaning that we cannot expand them in configure.ac.
Note that we use additional quoting to allow dirs with spaces
in the gcc command line.
This is done for the Window port of SnapRAID.
2016-11-07 19:11:32 +01:00
Andrea Mazzoleni
cb84c61d07
Extend the coverage test
2016-11-06 20:23:11 +01:00
Andrea Mazzoleni
e58621dada
Remove the now unused tommy_arrayblk
2016-11-03 18:43:37 +01:00
Andrea Mazzoleni
faa530e83e
Allow to change the output format
...
The new test option allows to restore the past
behaviour, just in case...
2016-10-11 20:30:12 +02:00
Andrea Mazzoleni
b1fc75adab
Make -F to not reallocate parity
...
This is now done by the new -R option.
2016-10-01 22:19:29 +02:00
Andrea Mazzoleni
397c58c41e
Add new IO window advise modes
2016-05-18 20:45:02 +02:00
Andrea Mazzoleni
bec310d50b
Add regression test for multi parity
2016-05-17 19:08:12 +02:00
Andrea Mazzoleni
21241c5078
Preliminary advise support
2016-05-15 14:50:59 +02:00
Andrea Mazzoleni
10dba1356d
Add tests for the monothread mode
2016-03-19 23:47:19 +01:00
Andrea Mazzoleni
5239f99842
Use correct double slash in using --test-io-cache
2016-02-20 19:17:03 +01:00
Andrea Mazzoleni
840ec7b1c3
Use precise quoting for the shell commands
2016-02-10 21:30:54 +01:00
Andrea Mazzoleni
6f004d13ce
Allow -d, --disk in 'up' and 'down'
2016-01-23 15:31:30 +01:00
Andrea Mazzoleni
9d3773a2d4
Rename the 'nano' command to 'touch'
2016-01-18 19:41:04 +01:00
Andrea Mazzoleni
06c8891b26
Merge branch 'b9'
...
Conflicts:
HISTORY
cmdline/elem.c
cmdline/elem.h
2016-01-15 20:16:06 +01:00
Andrea Mazzoleni
56bef0d90f
Fix an invalid assumption about allocated parity
...
In the copy detection it's possible to need to
copy from a file wihout parity. This could result
in the parity position not found.
2016-01-15 19:50:21 +01:00
Andrea Mazzoleni
8e443bd767
Promote 'nano' as a documented command
2016-01-11 22:15:57 +01:00
Andrea Mazzoleni
7cb33cc046
Add the new --test-io-cache option to control the cache size
2016-01-11 18:54:53 +01:00
Andrea Mazzoleni
d5d4d7896e
Message beautification in the regression test
2016-01-09 17:22:40 +01:00
Andrea Mazzoleni
d6ccca3106
Ensure that in the regression test to recognize a different file
...
We have failures in Travis for Mac for this issue.
2016-01-09 17:19:45 +01:00
Andrea Mazzoleni
56a27b394f
Extend the multithread regression test
2016-01-09 11:19:52 +01:00
Andrea Mazzoleni
da5ef977e3
Add the no-warnings option in the regression test
2016-01-09 11:19:52 +01:00
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