Commit graph

1706 commits

Author SHA1 Message Date
Andrea Mazzoleni
2bd2579823 In diff doesn't abort for force-empty or force-zero. 2014-10-25 17:47:22 +02:00
Andrea Mazzoleni
aff9f97d50 Updates to latest TommyDS version. 2014-10-25 17:28:41 +02:00
Andrea Mazzoleni
acb1bad9b0 Computes the effective wasted space, taking into account the parity size. 2014-10-25 16:36:19 +02:00
Andrea Mazzoleni
63f53a9274 Adds more info in the progress bar info for -G option. 2014-10-21 22:10:54 +02:00
Andrea Mazzoleni
447f1f1294 Makes fix to autodetect moved files and use them in recovering. 2014-10-19 22:25:30 +02:00
Andrea Mazzoleni
98deb4ba91 Fixes a recurring typo in comments. 2014-10-19 21:09:22 +02:00
Andrea Mazzoleni
c671108973 Adds new files used by new import command. 2014-10-19 21:09:05 +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
51356b55b0 Removes now unnecessary list in dup command. 2014-10-18 22:26:42 +02:00
Andrea Mazzoleni
3421ec6177 Warning removal for #ifdef build. 2014-10-18 16:52:28 +02:00
Andrea Mazzoleni
a9ec540e79 Fixes some comments in the RAID interface. 2014-10-18 09:22:04 +02:00
Andrea Mazzoleni
37e7ca2faa Removes warning messages in Windwos about not updated metadata. 2014-10-14 23:01:01 +02:00
Andrea Mazzoleni
55006d76f3 Merges lstat_sync() and filephy() in Windows reduce syscalls. 2014-10-14 22:47:21 +02:00
Andrea Mazzoleni
0388c250f9 In the test with filtered fixing avoids to prepend a partial fix. 2014-10-14 22:16:15 +02:00
Andrea Mazzoleni
a1e661c9be Some more TODO entries. 2014-10-14 22:04:33 +02:00
Andrea Mazzoleni
12d6084fce Simplifies some common subexpressions.
No functional change.
2014-10-14 21:37:28 +02:00
Andrea Mazzoleni
3e2d805d08 Extends the status command to show free space. 2014-10-13 23:47:25 +02:00
Andrea Mazzoleni
4886a5d13f Gives a hint about filled disks in parity write error. 2014-10-12 10:50:48 +02:00
Andrea Mazzoleni
4a09094f60 Reports also numeric errno in Windows. 2014-10-12 10:50:33 +02:00
Andrea Mazzoleni
21a88175d5 Uses an external GetFilePhysicalOffset to make code clear. 2014-10-04 18:05:50 +02:00
Andrea Mazzoleni
a76aa1dd0b Removes now unnecessary Mapping message. 2014-10-04 16:43:11 +02:00
Andrea Mazzoleni
84552244ba Merge branch 'dirstream' 2014-10-04 16:41:39 +02:00
Andrea Mazzoleni
ca5e635aa1 In Windows ensures to use synced information for new files.
Keeps track of the sync state of info with a new st_sync field
in the stat struct.
2014-10-04 10:27:23 +02:00
Andrea Mazzoleni
a0c6965959 Reads the physical offset only for new files. 2014-10-03 21:28:56 +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
be24f82cfd Fixes the use of star in the regression test. 2014-10-03 21:21:20 +02:00
Andrea Mazzoleni
c513af08ff Ensures to call lstat_ex() only on regular files. 2014-10-01 21:44:35 +02:00
Andrea Mazzoleni
524360d8c2 Merge branch 'master' into dirstream 2014-09-30 23:27:09 +02:00
Andrea Mazzoleni
0d56f67ed1 Fixes tommyds implementation for x64. 2014-09-30 23:26:32 +02:00
Andrea Mazzoleni
f117074004 Uses Windows dir stream to make dir listing faster. 2014-09-30 21:54:49 +02:00
Andrea Mazzoleni
2cd0ca3fa8 Fixes a typo in a comment. 2014-09-29 19:16:54 +02:00
Andrea Mazzoleni
09aaccc9e9 Uses an extended error report for FlushFileBuffers().
This is at now safer than ignoring the INVALID_HANDLE error.
2014-09-29 19:14:57 +02:00
Andrea Mazzoleni
876bddcf4c Beautifies the code. 2014-09-27 00:32:39 +02:00
Andrea Mazzoleni
0583799ad0 Avoids fake identation. 2014-09-27 00:23:05 +02:00
Andrea Mazzoleni
d84babb6bd Updates with latest tommyds library. 2014-09-26 23:50:01 +02:00
Andrea Mazzoleni
eeea58b42a Handles special errors from FlushFileBuffers() for Windows. 2014-09-26 22:59:07 +02:00
Andrea Mazzoleni
0433033c12 Uses an explicit fsync() in Windows.
This should allow a more precise error detection.
2014-09-24 22:25:35 +02:00
Andrea Mazzoleni
e6019351d4 Adds a new TODO entry about escaping file names in logs. 2014-09-21 22:28:58 +02:00
Andrea Mazzoleni
3df3265e9e Clearifies the --pre-hash option. 2014-09-21 22:28:36 +02:00
Andrea Mazzoleni
605e7da478 Adjusts a comment to make it more clear. 2014-09-21 22:27:56 +02:00
Andrea Mazzoleni
3274b7cd2e Uses a different way to handle registers conflict with the compiler. 2014-09-21 08:45:33 +02:00
Andrea Mazzoleni
6effc8230e Aligns with the Linux Kernel about using no-sse and no-avx. 2014-09-20 10:34:28 +02:00
Andrea Mazzoleni
8a8408a5d0 Adds GCC options to disable SSE2 use by the compiler. 2014-09-19 23:38:18 +02:00
Andrea Mazzoleni
facabeb5ef Adds new speed measures with AVX2 support. 2014-09-17 22:10:09 +02:00
Andrea Mazzoleni
5dc4365394 Removes some clang warnings. 2014-09-17 21:49:37 +02:00
Andrea Mazzoleni
f21d86e999 Some semplification of the delta parity computation.
There is no functional change in the code, only made explicit
some invariants.
2014-09-17 21:48:23 +02:00
Andrea Mazzoleni
3a798cb226 Fixes inversion test due missing RAID init call. 2014-09-17 21:35:13 +02:00
Andrea Mazzoleni
4ce85be912 Fixes indentation of speed results. 2014-09-17 21:34:00 +02:00
Andrea Mazzoleni
6afb76f10d Using new compilers for Windows. 2014-09-16 22:16:33 +02:00
Andrea Mazzoleni
c4db0417c4 Removes unused source file. 2014-09-16 22:03:53 +02:00