Andrea Mazzoleni
|
305b52d32a
|
Reverses the order of np/nd in raid_par() for consistency with other funcs.
|
2013-12-28 15:43:00 +01:00 |
|
Andrea Mazzoleni
|
abc05c612c
|
Splits the RAID engine in multiple files.
|
2013-12-28 09:10:00 +01:00 |
|
Andrea Mazzoleni
|
de0c8db8d7
|
Refactors the RAID engine for a potential independent release.
|
2013-12-27 13:56:56 +01:00 |
|
Andrea Mazzoleni
|
9fa97f04fd
|
Move the vbuf argument as last one. No functional change.
|
2013-12-26 09:28:00 +01:00 |
|
Andrea Mazzoleni
|
52eb4675d3
|
Fixes a crash if a file is deleted during a sync/scrub.
|
2013-12-03 18:40:19 +01:00 |
|
Andrea Mazzoleni
|
54f3af34cc
|
Prints more details if a runtime file change is detected.
|
2013-11-14 21:12:48 +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
|
d8689465a5
|
Updates some sync comments.
|
2013-11-01 08:38:13 +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
|
6c3d84d775
|
Merge branch 'b4'
Conflicts:
HISTORY
configure.ac
state.c
state.h
|
2013-10-21 19:52:28 +02:00 |
|
Andrea Mazzoleni
|
cef30125a2
|
Relax the check about small parity files, to allow to recover
after a failed sync before resizing the parity files.
|
2013-10-21 19:43:01 +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
|
7014486bb7
|
In sync if a silent error is detect marks the block as bad like in scrub.
|
2013-10-03 22:16:29 +02:00 |
|
Andrea Mazzoleni
|
d35beda689
|
Improves the -G, --gui output.
|
2013-09-30 22:24:30 +02:00 |
|
Andrea Mazzoleni
|
1582dba2c5
|
Doesn't update parity for blocks that are not changed even if the file has a different timestamp.
|
2013-09-29 21:01:31 +02:00 |
|
Andrea Mazzoleni
|
d525b4a14a
|
Reduces memory usage, with new array growing by fixed size and not exponential.
|
2013-09-28 09:40:08 +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
|
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
|
4f891087a2
|
Optimizes the cache use for all the RAID computations.
|
2013-09-05 22:29:58 +02:00 |
|
Andrea Mazzoleni
|
fb5cc1c3b4
|
Doesn't remove anymore deleted blocks before sync.
They are going to be automatically excluded when we write the content file.
|
2013-08-23 18:45:34 +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
|
cefe021e60
|
Doesn't start sync if Ctrl+C is pressed.
|
2013-07-10 19:37:58 +02:00 |
|
Andrea Mazzoleni
|
275ef2ed3c
|
Implements an incremental rehash.
|
2013-07-01 23:08:25 +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
|
e0164b29d1
|
Keeps track of the last sync time of each block.
|
2013-06-23 22:54:54 +02:00 |
|
Andrea Mazzoleni
|
4455ba7e4f
|
Adds a random hash seed.
|
2013-06-16 00:33:46 +02:00 |
|
Andrea Mazzoleni
|
caa7b5d054
|
When Data error are detected prints the full path of the file.
|
2013-04-28 17:51:35 +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
|
0200a2b7fa
|
Adds a new -l, --log option.
|
2013-03-01 20:13:56 +01:00 |
|
Andrea Mazzoleni
|
4c058d25e2
|
Adds some more undocumented --test options.
|
2013-02-28 23:06:42 +01:00 |
|
Andrea Mazzoleni
|
1e3e88d51c
|
Removes INV blocks. There are not unnecessary as we always keep deleted/changed ones to keep the information that the parity is invalid.
|
2013-02-24 19:43:53 +01:00 |
|
Andrea Mazzoleni
|
5c4f6dc5c4
|
Keeps track of the hash of deleted blocks.
This will allow an easier recovering providing manually deleted files.
|
2013-02-24 19:02:53 +01:00 |
|
Andrea Mazzoleni
|
65c6455f22
|
Fixed pritntf specifier for Windows.
|
2012-11-12 23:20:34 +01:00 |
|
Andrea Mazzoleni
|
91e74e91b8
|
Checks the parity size in sync.
|
2012-10-09 23:02:46 +02:00 |
|
Andrea Mazzoleni
|
7c9bf5f5f2
|
When printing inodes ensure to use 64 bits conversion in case inode is 32 bit.
|
2012-10-08 19:20:03 +02:00 |
|
Andrea Mazzoleni
|
8373233f25
|
Prints list of files outside the parity if growing is not possible.
|
2012-10-06 13:17:21 +02:00 |
|
Andrea Mazzoleni
|
3c598b28cc
|
Compiles with optional nanoseconds supports.
|
2012-09-19 21:52:15 +02:00 |
|
Andrea Mazzoleni
|
179195435b
|
Avoid autosave if near at the end.
|
2012-07-21 13:52:22 +02:00 |
|
Andrea Mazzoleni
|
71c7f4dffb
|
More precise file modification time, now using nanoseconds.
|
2012-07-10 23:24:31 +02:00 |
|
Andrea Mazzoleni
|
7ee0c0f5ef
|
If no file is present, prints a message about nothing to do.
|
2012-06-30 17:29:16 +02:00 |
|
Andrea Mazzoleni
|
09242f1cec
|
Fixes a typo, and new TODO entry.
|
2012-03-18 10:25:53 +01:00 |
|
Andrea Mazzoleni
|
2a50ec747d
|
Adds the new autosave configuration option.
Checks the parity validity invariant after reading the content file.
|
2012-03-13 23:59:59 +01:00 |
|