Commit graph

17 commits

Author SHA1 Message Date
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
ffe7f6fa57 Adds new files support.c/h for low level support functions. 2015-01-02 18:52:04 +01:00
Andrea Mazzoleni
47c2165f63 Removes duplicate code introducing block_is_enabled(). 2014-12-29 19:11:03 +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
d8907e8556 Some comments adjustment. 2014-12-29 00:01:35 +01:00
Andrea Mazzoleni
b47d78c581 Splits create and truncate operations. 2014-12-28 19:11:58 +01:00
Andrea Mazzoleni
25ab1b93de Some minor comment changes. 2014-12-28 17:52:49 +01:00
Andrea Mazzoleni
790e7dfa5e Simplifies a disk check to avoid static analyzer warnings. 2014-11-15 18:33:39 +01:00
Andrea Mazzoleni
4419801674 Merges parity info in a parity struct. 2014-11-09 10:32:00 +01:00
Andrea Mazzoleni
7718e6d206 Renames snapraid_parity to handle. 2014-11-09 10:25:39 +01: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
12d6084fce Simplifies some common subexpressions.
No functional change.
2014-10-14 21:37:28 +02:00
Andrea Mazzoleni
876bddcf4c Beautifies the code. 2014-09-27 00:32:39 +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
adc4f196fa Adds the implementation of the new test-nano command. 2014-05-18 15:11:18 +02:00
Andrea Mazzoleni
3ca51ec426 Logs about fixing with import. 2014-04-05 16:12:26 +02:00
Andrea Mazzoleni
44ef039a13 Different source organization. 2014-03-23 17:50:27 +01:00
Renamed from src/check.c (Browse further)