Allan Clark
5886923bb1
Add bandwidth limit feature --bw-limit
2025-03-29 19:29:55 +01:00
Tomas Uribe
79e8794ff5
Small doc updates, clarify references to "snapraid touch". ( #19 )
...
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2024-01-10 14:17:00 +01:00
Andrea Mazzoleni
a605442c8c
Fix typos in messages
2023-12-09 15:35:45 +01:00
Andrea Mazzoleni
1d4fbd3f9a
Add the option --test-skip-multi-scan to skip multithreads scan
2022-01-07 21:03:51 +01:00
Andrea Mazzoleni
836fd6b1e0
Add a new undocumented --filter-block-error option
2021-07-08 08:07:03 +02:00
Andrea Mazzoleni
24f746bf82
Use localtime_r() when available
...
No effect on the monothread context, but avoid warnings from static analysis.
2021-05-30 15:52:55 +02:00
Andrea Mazzoleni
53801b407a
Remove the need of the MingW pthread layer on the Windows port
...
Now everything is implemented usign Windows native calls.
2021-05-26 00:21:52 +02:00
Andrea Mazzoleni
19c75877f1
Allow the --force-device option to work with smart/up/down/devices
2019-05-05 09:17:05 +02:00
Andrea Mazzoleni
f68694904d
Cleanup the memory messages
2018-01-14 15:20:57 +01:00
Andrea Mazzoleni
c4e08ae69d
Add fallthrough comments to avoid gcc 7 warnings
2018-01-03 12:08:29 +01:00
Andrea Mazzoleni
ebd2ef6220
Fix a typo in comment
2017-02-05 11:43:21 +01:00
James Sanderson
ee1aa840f1
Respect sysconfdir for configuration file location
...
The sysconfdir is used if it exists, otherwise it fallbacks
to the previous default /etc.
2016-11-06 22:12:49 +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
ba0184c37c
Add a test option to skip the space holder
2016-10-05 00:12:29 +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
dd87022490
Remove unnecessary prefix char in escaping
...
We can encode it at higher level.
2016-05-29 18:23:43 +02:00
Andrea Mazzoleni
256db0e595
Rename internal esc/quote functions
...
No functional change
2016-05-29 18:19:32 +02:00
Andrea Mazzoleni
cdc0a1cd93
Rename chunk to extent
...
No functional change.
2016-05-23 22:10:05 +02:00
Andrea Mazzoleni
397c58c41e
Add new IO window advise modes
2016-05-18 20:45:02 +02:00
Andrea Mazzoleni
4298a238e9
Add option to skip content write in sync
2016-05-17 23:17:31 +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
8d3cefb302
Allow compilation without pthread support
2016-03-18 18:45:35 +01:00
Andrea Mazzoleni
fe3ad31cbb
Allow to disable the multithread mode
...
Use the --test-io-cache=1 option to use a special
monothread mode.
2016-03-18 18:33:11 +01:00
Andrea Mazzoleni
0f640fa2d2
Fix a typo in option name
2016-02-14 09:39:32 +01:00
Andrea Mazzoleni
0707b1f446
Error check all the thread operations
...
No error is expected, and this enforces that expectation.
2016-02-13 16:05:19 +01:00
Andrea Mazzoleni
3c6a7bac3e
Make the conditional variable signaling configurable at runtime
...
This allows to verify if the signaling outside the mutex gives
any performance improvment.
2016-02-13 16:05:19 +01:00
Andrea Mazzoleni
840ec7b1c3
Use precise quoting for the shell commands
2016-02-10 21:30:54 +01:00
Andrea Mazzoleni
a37d3439b4
Restore the -D, --force-device option to ignore the same device error
2016-02-09 19:20:24 +01:00
Andrea Mazzoleni
895eb6b36c
Add the new --test-io-stats to show graphs, and reformat them
2016-01-27 22:26:25 +01:00
Andrea Mazzoleni
6f004d13ce
Allow -d, --disk in 'up' and 'down'
2016-01-23 15:31:30 +01:00
Andrea Mazzoleni
adbf4f25c2
Allow 'smart' without a configuration file
2016-01-18 22:36:06 +01:00
Andrea Mazzoleni
9d3773a2d4
Rename the 'nano' command to 'touch'
2016-01-18 19:41:04 +01:00
Andrea Mazzoleni
9ade11483e
Fix some misuses of the MiB and MB units
2016-01-16 07:29:00 +01:00
Andrea Mazzoleni
8e443bd767
Promote 'nano' as a documented command
2016-01-11 22:15:57 +01:00
Andrea Mazzoleni
f64047c412
Save the content file only after --pre-hash
...
This allow recovering of moved files.
2016-01-11 18:54:53 +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
c870b04b66
Refactor locks use in support
2016-01-09 10:25:56 +01:00
Andrea Mazzoleni
fb404ef149
Print the amount of memory used for MT
2016-01-09 10:25:56 +01:00
Andrea Mazzoleni
62aba9228a
Add a new test option to force parity update
2016-01-04 10:43:43 +01:00
Andrea Mazzoleni
5249f9cb04
Fix various typos in comments
2016-01-02 16:52:20 +01:00
Andrea Mazzoleni
7ad70c26f8
Remove the need of helgrind/drd suppression
...
Using a mutex for protectign the global memory counter
should not affect performance.
2016-01-01 17:57:04 +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
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
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
104c47d106
Add a proper signal handling
...
The most common signals are now intercepted with SA_RESTART
to allow a clean interruption.
2015-10-26 19:32:41 +01:00