Commit graph

106 commits

Author SHA1 Message Date
Andrea Mazzoleni
22b3ca77b3 Changes configuration to use numbers to specify the parity level instead than letters. 2013-11-17 14:12:57 +01:00
Andrea Mazzoleni
915c3b9202 Renames parity level from RAID to PAR. 2013-11-13 21:35:44 +01:00
Andrea Mazzoleni
6a3438f883 Reverse the order of disk buffers that are accessed in backward order.
This improves a little the speed.
2013-11-04 19:45:29 +01:00
Andrea Mazzoleni
066709370e Changes again the output of check/fix.
Now the file name are printed unless the undocumented -q is specified.
2013-10-31 18:41:10 +01:00
Andrea Mazzoleni
15d9bb4db2 Removes too verbose printing in check/fix. 2013-10-30 22:59:33 +01:00
Andrea Mazzoleni
185d3a4a18 Checks that filter disks match at least one disk. 2013-10-30 21:45:53 +01:00
Andrea Mazzoleni
fae56fd9af Generates combinations at runtime. 2013-10-29 22:22:40 +01:00
Andrea Mazzoleni
5b60bd077d Minor comments and output changes. 2013-10-27 21:05:18 +01:00
Andrea Mazzoleni
7414f8daec Adds a basic memory test on the used memory buffers. 2013-10-27 17:31:10 +01:00
Andrea Mazzoleni
9a5978eb22 Adds complete Cauchy RAID support and removes the mixed Power RAID. 2013-10-25 18:03:05 +02:00
Andrea Mazzoleni
136af37e96 Adds preliminary support for RAID based on a Cauchy matrix. 2013-10-22 23:40:05 +02:00
Andrea Mazzoleni
c95917ecfe Adds more logging in scrub and sync. 2013-10-21 21:56:53 +02:00
Andrea Mazzoleni
1c07ed86f8 Changes the output format to make it more consistent between commands. 2013-10-19 13:24:35 +02:00
Andrea Mazzoleni
70244133f4 Changes the meaning of the -G, --gui option to now remove only
the interactive output. All the other log options are not enabled
by default.
2013-10-03 22:44:33 +02:00
Andrea Mazzoleni
d35beda689 Improves the -G, --gui output. 2013-09-30 22:24:30 +02:00
Andrea Mazzoleni
53744ed2b1 Refactors the whole raid support. 2013-09-22 23:32:30 +02:00
Andrea Mazzoleni
6868fae748 Merge branch 'b4'
Conflicts:
	sync.c
2013-09-21 19:15:25 +02:00
Andrea Mazzoleni
013306e325 Prints a more clear statement that Everything is OK at the end of commands. 2013-09-21 19:11:11 +02:00
Andrea Mazzoleni
7eca46e9fd Fixes RAIDQP recovering. 2013-09-20 22:04:46 +02:00
Andrea Mazzoleni
9af05bce98 Uses a more generic strategy for recoving. 2013-09-18 21:56:06 +02:00
Andrea Mazzoleni
28297c52d9 Merge branch 'master' into tripleparity
Conflicts:
	Makefile.am
	check.c
	dry.c
	scrub.c
	state.c
2013-09-16 20:34:53 +02:00
Andrea Mazzoleni
194846f01b Uses q-parity instead qarity in messages. 2013-09-16 19:49:42 +02:00
Andrea Mazzoleni
b72f7bf9b3 Uses a for loop to handle parities. 2013-09-15 21:12:41 +02:00
Andrea Mazzoleni
142f6ce119 Implements full RAIDTP support. 2013-09-11 23:30:32 +02:00
Andrea Mazzoleni
18840848e9 Computation support for RAID-TP (Triple Parity). 2013-09-07 17:22:33 +02:00
Andrea Mazzoleni
4f891087a2 Optimizes the cache use for all the RAID computations. 2013-09-05 22:29:58 +02:00
Andrea Mazzoleni
3a5ce4e522 Restores the timestamp of empty files in fix. 2013-08-26 20:20:36 +02:00
Andrea Mazzoleni
e0afd0edf7 Assumes also CHG blocks with a NULL hash without needing an info block.
Some refactoring and renaming of other hash functions to avoid misunderstanding.
2013-08-21 22:24:12 +02:00
Andrea Mazzoleni
9ad388724e Fixes some comments. 2013-08-21 22:04:10 +02:00
Andrea Mazzoleni
275ef2ed3c Implements an incremental rehash. 2013-07-01 23:08:25 +02:00
Andrea Mazzoleni
6e607ace08 In check doesn't report as unrecoverable error the missing destination of hardlinks. 2013-06-29 18:53:58 +02:00
Andrea Mazzoleni
1ddb24da46 Groups all the startup options in the new snapraid_option struct. 2013-06-29 18:11:36 +02:00
Andrea Mazzoleni
a32a1cd9a8 Adds the new status and scrub commands. 2013-06-29 17:53:40 +02:00
Andrea Mazzoleni
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
4455ba7e4f Adds a random hash seed. 2013-06-16 00:33:46 +02:00
Andrea Mazzoleni
5c0b7d2e6c Better handling of return value in handle_create(). 2013-06-01 22:49:38 +02:00
Andrea Mazzoleni
2cc948a50c Removes instead of renananig new partially recovered files when aborting. 2013-06-01 08:31:47 +02:00
Andrea Mazzoleni
5fef489a25 When renaming incomplete files, scans the full file list to take into account for fragmented files. 2013-05-31 23:34:59 +02:00
Andrea Mazzoleni
d5c1843ba6 Deletes create file if the fix process is aborted. 2013-04-28 19:01:36 +02:00
Andrea Mazzoleni
aeb167bb16 Adds --test-skip-sequential to disable the sequential hint for the disk cache. 2013-04-04 22:52:56 +02:00
Andrea Mazzoleni
8c7332cfda Rechecks the hash of imported files before using them. 2013-03-19 21:59:13 +01:00
Andrea Mazzoleni
473e6218b5 Prints the fix/check file result only if verbose is enabled. 2013-03-03 00:13:34 +01:00
Andrea Mazzoleni
3d911e1732 Prints the final status also for check. 2013-03-02 23:49:29 +01:00
Andrea Mazzoleni
c06605a568 Prints the result of each file in check and fix. 2013-03-02 23:17:55 +01:00
Andrea Mazzoleni
0200a2b7fa Adds a new -l, --log option. 2013-03-01 20:13:56 +01:00
Andrea Mazzoleni
7f8551fccb Doesn't stop if a hardlink cannot be created because the target doesn't exist. 2013-03-01 18:48:13 +01:00
Andrea Mazzoleni
e0acbda4bd Opens filtered out files in read-only mode. 2013-03-01 00:12:57 +01:00
Andrea Mazzoleni
4c058d25e2 Adds some more undocumented --test options. 2013-02-28 23:06:42 +01:00
Andrea Mazzoleni
3cd7b4ee03 Removes support to symlink to dirs in Windows. They are different than symlinks to files. 2013-02-28 21:56:02 +01:00
Andrea Mazzoleni
6da21cdbd9 Adds the -i, --import options to import deleted files for fix. 2013-02-27 21:07:16 +01:00