Commit graph

24 commits

Author SHA1 Message Date
Andrea Mazzoleni
83d967e2c0 Change "diff" to return an error if a "sync" is required 2015-03-02 23:01:15 +01:00
Andrea Mazzoleni
e56de653da Introduce a new messaging system 2015-02-22 14:31:03 +01:00
Andrea Mazzoleni
ad57aafd8f Refactor the parity size detection before sync.
Now we resize the parity only after checking the size of all
the parity file.
2015-02-01 18:48:50 +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
b24807704e Adds preliminary support for spinning up and down commands. 2015-01-02 15:53:15 +01:00
Andrea Mazzoleni
0b59dc92a6 Allows sync and scrub to continue on input/output errors.
There is an upper limit on the allowed errors in
the new opt.io_error_limit variable.
2014-12-30 09:45:35 +01:00
Andrea Mazzoleni
c6c9e9130e Adds new badonly and synced only options.
They are enabled with -e, --filter-error to limit
the operations to only bad blocks and avoiding to
restore not synced files.
2014-12-29 08:50:20 +01:00
Andrea Mazzoleni
c647e75885 Adds regression test for autosave. 2014-11-10 23:06:14 +01:00
Andrea Mazzoleni
7e9a5e6a6d Stores the free space in the content file.
This avoids the need to access data and parity disks in
the status command.
Also removed some data disk access, in list, dup and similar
commands that don't need to scan the disks.
2014-11-09 19:14:29 +01:00
Andrea Mazzoleni
4419801674 Merges parity info in a parity struct. 2014-11-09 10:32:00 +01:00
Andrea Mazzoleni
7054256c62 Ensures to test also the progress update. 2014-11-04 23:51:45 +01:00
Andrea Mazzoleni
2bd2579823 In diff doesn't abort for force-empty or force-zero. 2014-10-25 17:47:22 +02:00
Andrea Mazzoleni
e17f12f26b Changes the import command to use a new timestamp recognition.
This avoid the need of prehashing all the data, that could
be very slow.
2014-10-19 21:07:17 +02:00
Andrea Mazzoleni
0f05d40f25 Adds the --test-force-scan-winfind option to use the legacy dir listing. 2014-10-03 21:24:19 +02:00
Andrea Mazzoleni
0b372da80e Updates the CPU usage using the last 100 seconds data. 2014-09-09 22:33:09 +02:00
Andrea Mazzoleni
b8e25228f4 Keeps a cumulative tick for all disk operations. 2014-09-09 22:22:46 +02:00
Andrea Mazzoleni
6f8cfd22fa Gets speed and ETA stats using the last 100 seconds. 2014-09-09 22:15:50 +02:00
Andrea Mazzoleni
6700b928c2 Adds a new file_mode setting to control the file access mode. 2014-09-04 22:52:04 +02:00
Andrea Mazzoleni
5dfc67ec18 Keeps stats about usage time of disk and cpu. 2014-06-25 22:32:36 +02:00
Andrea Mazzoleni
c6a3742b40 Adds the new -F, --force-full option to force a full sync. 2014-06-15 19:01:07 +02:00
Andrea Mazzoleni
efd63bc032 Renames "undetermined" to "past" as it represents better the meaning. 2014-06-13 20:52:03 +02:00
Andrea Mazzoleni
da08ca4497 Makes a backup copy of the content file.
Before overwriting the existing content file, rename it
adding the .backup extension, but only if such content file
was read and validated.
2014-06-13 18:23:24 +02:00
Andrea Mazzoleni
de86307a27 Uses a smarter copy detection to avoid false positive.
Now a if the file has a zero nanosecond timestamp, it must
match the full pathname.
Also add the new -N option and an new undocumented test-nano
command to set randomly the nanosecond timestamp of files
that have it at zero.
2014-05-15 23:45:51 +02:00
Andrea Mazzoleni
44ef039a13 Different source organization. 2014-03-23 17:50:27 +01:00
Renamed from src/state.h (Browse further)