Commit graph

1527 commits

Author SHA1 Message Date
Andrea Mazzoleni
94bfe2e4ae Clarify graph legend 2016-02-05 20:20:15 +01:00
Andrea Mazzoleni
c2079947e5 Remove a false positive warning for Coverity Scan
It cannot see that if file is != 0 and handle->file == file,
also handle->file is != 0.
2016-02-03 19:58:54 +01:00
Andrea Mazzoleni
4cfe733302 Fix the 'touch' command in Windows 2016-02-02 18:55:47 +01:00
Andrea Mazzoleni
6e48ca8cd1 Output stats only when they are computed 2016-02-02 08:19:09 +01:00
Andrea Mazzoleni
62a760a42b Change two wrong block_off_t types 2016-01-31 18:58:02 +01:00
Andrea Mazzoleni
4a418e158a Add time stats also for thread scheduling 2016-01-31 18:08:39 +01:00
Andrea Mazzoleni
c1993e0abb Update AUTHORS 2016-01-30 22:42:04 +01:00
Andrea Mazzoleni
3040099e48 Optimizes console writes for Windows 2016-01-30 09:17:30 +01:00
Andrea Mazzoleni
6da3469fe7 When clearing the screen move the cursor to the top 2016-01-30 09:17:10 +01:00
Andrea Mazzoleni
bf1f7dda7c Avoid warnings for printf usage without format 2016-01-28 19:32:31 +01:00
Andrea Mazzoleni
895eb6b36c Add the new --test-io-stats to show graphs, and reformat them 2016-01-27 22:26:25 +01:00
Andrea Mazzoleni
34d02d4b41 Group print functions 2016-01-27 22:25:02 +01:00
Andrea Mazzoleni
11a8e301f4 Clear the screen before printing stats 2016-01-27 22:24:59 +01:00
Andrea Mazzoleni
252d613eae Print stats of the number of cached blocks 2016-01-27 20:37:31 +01:00
Andrea Mazzoleni
5f8fd36b45 Use progress values for the usage graph 2016-01-27 18:19:31 +01:00
Andrea Mazzoleni
489613097c In the usage vector store also the latest measure
This reduces the number of past measure by one.
2016-01-26 23:57:30 +01:00
Andrea Mazzoleni
846c02e2c1 Preliminary usage graph 2016-01-26 23:47:59 +01:00
Andrea Mazzoleni
3e2420489a Update TODO and HISTORY
Some more formatting fixes.
2016-01-25 23:07:20 +01:00
Andrea Mazzoleni
434e5c5a8f Update HISTORY
Reformatted to lines to be 72 chars long.
2016-01-25 22:42:26 +01:00
Andrea Mazzoleni
a7772a6c83 Update TODO 2016-01-25 20:50:39 +01:00
Andrea Mazzoleni
6f004d13ce Allow -d, --disk in 'up' and 'down' 2016-01-23 15:31:30 +01:00
Andrea Mazzoleni
affc60e256 Allocate only the minimal necessary waiting vector
This is more clear to understand.
2016-01-21 18:52:45 +01:00
Andrea Mazzoleni
377352e64f Default to 8 MiB of blocks for the IO cache 2016-01-20 22:03:14 +01:00
Andrea Mazzoleni
e2c4399e28 More precise disk usage time
When we wait, we now count the time for all the waiting disks,
and not only for the first one that finish.
2016-01-20 21:30:00 +01:00
Andrea Mazzoleni
f61f9192b0 Update HISTORY 2016-01-18 23:02:02 +01:00
Andrea Mazzoleni
2156c864b7 Remove the shadow 'index' variable with older gcc 2016-01-18 22:58:00 +01:00
Andrea Mazzoleni
07cf09e89c Update TODO 2016-01-18 22:40:18 +01:00
Andrea Mazzoleni
68e4a053cd Remove some warnings without optimizations 2016-01-18 22:39:39 +01:00
Andrea Mazzoleni
488d1ffa5d Rename handle_map() to avoid a shadow variable 2016-01-18 22:38:01 +01:00
Andrea Mazzoleni
adbf4f25c2 Allow 'smart' without a configuration file 2016-01-18 22:36:06 +01:00
Andrea Mazzoleni
9d3773a2d4 Rename the 'nano' command to 'touch' 2016-01-18 19:41:04 +01:00
Andrea Mazzoleni
3e30cfc3f2 Better nano message in 'status' 2016-01-18 19:23:37 +01:00
Andrea Mazzoleni
edbd51f3bf Log in diff why a file is different than before 2016-01-18 19:05:46 +01:00
Andrea Mazzoleni
4da8714dce Update HISTORY 2016-01-18 19:05:30 +01:00
Andrea Mazzoleni
22f2a6c884 Restore the use of -O2 for Windows binaries 2016-01-16 22:32:57 +01:00
Andrea Mazzoleni
d2991f736c Function renaming to get better consistency 2016-01-16 14:30:08 +01:00
Andrea Mazzoleni
9ade11483e Fix some misuses of the MiB and MB units 2016-01-16 07:29:00 +01:00
Andrea Mazzoleni
74fa6e9274 Add the "maybe" function also to par2block 2016-01-15 20:36:20 +01:00
Andrea Mazzoleni
83889b4fbb Add the "maybe" function also to par2file 2016-01-15 20:23:47 +01:00
Andrea Mazzoleni
06c8891b26 Merge branch 'b9'
Conflicts:
	HISTORY
	cmdline/elem.c
	cmdline/elem.h
2016-01-15 20:16:06 +01:00
Andrea Mazzoleni
eaa89473b4 Keep different the functions that may not find the parity 2016-01-15 20:05:38 +01:00
Andrea Mazzoleni
3194ea653f Update HISTORY 2016-01-15 19:57:02 +01:00
Andrea Mazzoleni
56bef0d90f Fix an invalid assumption about allocated parity
In the copy detection it's possible to need to
copy from a file wihout parity. This could result
in the parity position not found.
2016-01-15 19:50:21 +01:00
Andrea Mazzoleni
3ea770d19a Fix a potential division by zero with a malformed content
Only when using the -C option. Found with AFL (American Fuzzy Lop).
2016-01-12 23:03:11 +01:00
Andrea Mazzoleni
8e443bd767 Promote 'nano' as a documented command 2016-01-11 22:15:57 +01:00
Andrea Mazzoleni
6ac01901b0 In 'status' print the number of files with zero subsecond timestamp 2016-01-11 21:56:19 +01:00
Andrea Mazzoleni
f64047c412 Save the content file only after --pre-hash
This allow recovering of moved files.
2016-01-11 18:54:53 +01:00
Andrea Mazzoleni
c570f0e3a0 Count separately silent errors in prehash 2016-01-11 18:54:53 +01:00
Andrea Mazzoleni
84c089aae4 Use 'data' in the configuration file instead of 'disk' 2016-01-11 18:54:53 +01:00
Andrea Mazzoleni
7cb33cc046 Add the new --test-io-cache option to control the cache size 2016-01-11 18:54:53 +01:00