Commit graph

37 commits

Author SHA1 Message Date
Andrea Mazzoleni
1ddb24da46 Groups all the startup options in the new snapraid_option struct. 2013-06-29 18:11:36 +02:00
Andrea Mazzoleni
0cffb46050 Fixes some error conditions reported by clang. 2013-06-18 21:13: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
a85aa08276 Prints also the Windows GetLastError() in strerror(). 2013-04-04 19:30:24 +02:00
Andrea Mazzoleni
49ff05e0bb Fixes the check for printing the names of files outside the parity. 2013-03-02 18:33:48 +01:00
Andrea Mazzoleni
10db41c732 Fixes compilation in Windows. 2013-03-01 20:17:41 +01:00
Andrea Mazzoleni
0200a2b7fa Adds a new -l, --log option. 2013-03-01 20:13:56 +01:00
Andrea Mazzoleni
266c6a1da1 Removes a warning. 2013-03-01 00:14:10 +01:00
Andrea Mazzoleni
4c058d25e2 Adds some more undocumented --test options. 2013-02-28 23:06:42 +01:00
Andrea Mazzoleni
94ba44c0e7 Adds a missing fadvise() for sequential access in parity creation. 2013-02-27 20:58:03 +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
dc1909ea03 Prints more information if growing the parity fails for lack of space. 2013-02-22 22:14:55 +01:00
Andrea Mazzoleni
2d6528fe90 If O_NOATIME use fails with EPERM, retry without it. 2012-11-04 00:26:30 +01:00
Andrea Mazzoleni
db6ff47062 Uses O_NOATIME if possible. 2012-11-03 23:57:12 +01:00
Andrea Mazzoleni
91e74e91b8 Checks the parity size in sync. 2012-10-09 23:02:46 +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
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
Andrea Mazzoleni
53124d3484 Adds support for short read requests. This is a permitted behaviour for filesystems. 2012-03-13 19:11:09 +01:00
Andrea Mazzoleni
55fae37e7f Improves recovering after an aborted sync. 2012-02-09 23:17:36 +01:00
Andrea Mazzoleni
13596d07ea Revises the comments using fallocate(). 2012-01-21 21:52:37 +01:00
Andrea Mazzoleni
c4263a4193 With posix_fadivse the error is the return value and not errno. 2012-01-21 20:52:37 +01:00
Andrea Mazzoleni
07da751bb4 Uses fallocate() instead of posix_fallocate(). 2012-01-21 13:08:35 +01:00
Andrea Mazzoleni
85864928e9 Fixed compilation in Windows. 2011-10-31 09:42:37 +01:00
Andrea Mazzoleni
1dbd801dcb Better performance in fix keeping track of which part of the files is not initialized. 2011-10-09 07:51:25 +02:00
Andrea Mazzoleni
59c7c7380c Prints more error information in case of some errors. 2011-10-08 10:32:17 +02:00
Andrea Mazzoleni
99515f610c Separates the disk array in a disk list and a handle mapping vector. 2011-09-23 21:48:50 +02:00
Andrea Mazzoleni
7a10f95465 A little renaming. 2011-09-23 20:45:58 +02:00
Andrea Mazzoleni
1ed3d59c02 Some error messages changes. 2011-09-03 11:01:12 +02:00
Andrea Mazzoleni
10511499aa Uses PRIu64 to print 64 bit integers. 2011-04-29 22:37:40 +02:00
Andrea Mazzoleni
19d660f383 More explicit messages if the growing of the parity file fails. 2011-04-28 21:50:41 +02:00
Andrea Mazzoleni
eb26b6aa1f Uses O_SEQUENTIAL in Windows. 2011-04-26 19:15:36 +02:00
Andrea Mazzoleni
a5aa964f8f Removes some conversion warnings. 2011-03-30 17:13:42 +02:00
Andrea Mazzoleni
637789d11b Some comments about the use of posix_advise(). 2011-03-29 18:27:25 +02:00
Andrea Mazzoleni
8fb43ddefa Fixed some portability issues for Windows. 2011-03-20 13:54:05 +01:00
Andrea Mazzoleni
f443a7f089 Better error management 2011-03-18 22:38:11 +01:00
Andrea Mazzoleni
496971e9c9 Address some portability issues 2011-03-12 10:09:59 +01:00
Andrea Mazzoleni
4bd4f9dd79 Add the fix command
Split in various files
Add --force switch
Add --start switch
2011-03-04 20:59:21 +01:00