Commit graph

945 commits

Author SHA1 Message Date
Andrea Mazzoleni
0b372da80e Updates the CPU usage using the last 100 seconds data. 2014-09-09 22:33:09 +02:00
Andrea Mazzoleni
b8e25228f4 Keeps a cumulative tick for all disk operations. 2014-09-09 22:22:46 +02:00
Andrea Mazzoleni
6f8cfd22fa Gets speed and ETA stats using the last 100 seconds. 2014-09-09 22:15:50 +02:00
Andrea Mazzoleni
3db0c5e967 Prints time stat also in dry. 2014-09-08 21:24:11 +02:00
Andrea Mazzoleni
4adcf7c5cc Prints time stats also in scrub. 2014-09-08 21:18:11 +02:00
Andrea Mazzoleni
c65c954edc Minor changes at the documentation. 2014-09-07 16:42:12 +02:00
Andrea Mazzoleni
72ad513583 Rejects the libaio TODO, as it's slower than not using it. 2014-09-04 22:53:55 +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
91597cea7c Adjusts a configuration comment. 2014-09-03 23:21:51 +02:00
Andrea Mazzoleni
d75baef775 Fixes a typo in the cmdline help. 2014-09-03 22:50:47 +02:00
Andrea Mazzoleni
6d4d75ad0b Increases a little the code coverage in testing. 2014-09-01 20:04:56 +02:00
Andrea Mazzoleni
1cd6c1ddde Uses a fixed size element for info.
Mostly for precaution. No real change in all supported platforms.
2014-08-31 17:51:06 +02:00
Andrea Mazzoleni
0c65dbbb48 Adds cmalloc() wrapper. 2014-08-31 17:50:39 +02:00
Andrea Mazzoleni
ce2d03bd80 Extends the RAID engine to remove the waste buffer need.
It's possible to reuse another parity buffer, instead of requiring
a specific one.
2014-08-26 12:39:06 +02:00
Andrea Mazzoleni
43d81d52a9 Prints more info in low memory error. 2014-08-02 10:30:51 +02:00
Andrea Mazzoleni
eb5b8da65c Adds a missing cpu time call.
Not really relevant, just for completeness.
2014-08-02 10:15:23 +02:00
Andrea Mazzoleni
4d378f5515 Changes to v6.4. 2014-08-02 10:14:29 +02:00
Andrea Mazzoleni
42105f90b2 Uses the portable to Windows ftruncate(). 2014-07-14 20:18:47 +02:00
Andrea Mazzoleni
c8df7d4a07 More efficient test avoiding rewrite. 2014-07-14 08:24:23 +02:00
Andrea Mazzoleni
ffb928d6bb Removes beta state from HISTORY. 2014-07-11 23:33:48 +02:00
Andrea Mazzoleni
ea4eafb60d Fixes the Windows regression test. 2014-07-11 23:33:19 +02:00
Andrea Mazzoleni
71ff0620ce Sort the dir alphabetically if explicitely requested.
This ensures that the test is independent of the directory order
of the files.
2014-07-11 19:59:01 +02:00
Andrea Mazzoleni
6c88c44970 Reworks the test implementation. 2014-07-11 19:57:58 +02:00
Andrea Mazzoleni
e4a4e20e8c Ensures to always write not zero data in the regression test. 2014-07-11 18:49:22 +02:00
Andrea Mazzoleni
2a6ad5d1ff Avoids possible division by zero in the regression test. 2014-07-11 18:48:49 +02:00
Andrea Mazzoleni
8912ebd76d Removes warnings due possible mismatching integer sizes. 2014-07-11 18:40:08 +02:00
Andrea Mazzoleni
12f77ed778 Fixes build in OS X. 2014-07-11 18:39:45 +02:00
Andrea Mazzoleni
9fa6964e05 Adjusts HISTORY. 2014-07-07 22:06:29 +02:00
Andrea Mazzoleni
1b4ebea11b Fixes the regression test when running in valgrind. 2014-07-04 18:16:28 +02:00
Andrea Mazzoleni
5ed1c7275f Fixes a memory leak in mktest. 2014-07-03 21:51:16 +02:00
Andrea Mazzoleni
98e1f66baa Uses a precise counting in scrub.
Now the exact number of blocks is scrubbed regardless
the time organization of the blocks.
2014-07-02 23:02:49 +02:00
Andrea Mazzoleni
cc6fb0e6e0 Fixes regression test in Mac OS X. 2014-07-01 23:08:00 +02:00
Andrea Mazzoleni
b3d8092c08 Clearifies some comments. 2014-07-01 22:56:18 +02:00
Andrea Mazzoleni
7efd5b6f83 Ensures that the "datage" command writes always different data. 2014-07-01 22:55:35 +02:00
Andrea Mazzoleni
5b083ad22e Adds a regression check for the new -N,--force-nocopy option. 2014-07-01 22:15:33 +02:00
Andrea Mazzoleni
fb7ef9ec29 Logs when a SIGINT is received. 2014-06-29 10:53:40 +02:00
Andrea Mazzoleni
2652438f6d More logging info for scrub and commandline. 2014-06-29 10:49:13 +02:00
Andrea Mazzoleni
35fb2085dc Removes unused code. 2014-06-28 12:12:51 +02:00
Andrea Mazzoleni
3caa251d83 Adjusts some consistency messages. 2014-06-25 23:23:22 +02:00
Andrea Mazzoleni
6ec7d2aae5 Adds some consistency check when saving the new state.
We checks about consistency of the deleted and allocated
blocks to ensure that they don't overlap.
2014-06-25 23:18:04 +02:00
Andrea Mazzoleni
03fc05e93c Removes the new .backup feature.
I'm not yet convinced that it's a good idea, because it may
end in unexpected errors if the old content file is used
as it's it.
2014-06-25 22:51:26 +02:00
Andrea Mazzoleni
5dfc67ec18 Keeps stats about usage time of disk and cpu. 2014-06-25 22:32:36 +02:00
Andrea Mazzoleni
fb4f257593 Reviews docs for the new -F option. 2014-06-16 23:26:17 +02:00
Andrea Mazzoleni
05b17e5f0b Allow disks not supporting physical offsets. 2014-06-16 23:12:49 +02:00
Andrea Mazzoleni
ea49d5dd4b No more "UUID set" message as misleading for empty disks. 2014-06-16 22:50:06 +02:00
Andrea Mazzoleni
c6a3742b40 Adds the new -F, --force-full option to force a full sync. 2014-06-15 19:01:07 +02:00
Andrea Mazzoleni
8c750d0039 Ensures that checked_read is really initialized. 2014-06-15 18:10:18 +02:00
Andrea Mazzoleni
05d5fc7e3f Adds two extra tests about aborted syncs with files operations. 2014-06-15 18:00:00 +02:00
Andrea Mazzoleni
c5d6dd0cc7 Reworks the keep function to make it easier to understand. 2014-06-15 17:59:00 +02:00
Andrea Mazzoleni
69acc1e251 Disables reallocation if a rehash is in progress.
Be more conservative about rehash. No functional change is expected
because we were already checking rehash for blocks with updated
hash. But this way the code is simpler and easy to understand.
2014-06-15 17:56:43 +02:00