Andrea Mazzoleni
76cb3d5b88
Fix printing of wasted space in "status" command
2015-03-01 19:20:03 +01:00
Andrea Mazzoleni
e56de653da
Introduce a new messaging system
2015-02-22 14:31:03 +01:00
Andrea Mazzoleni
8f2b148ff1
Extend the "Wasted" column to show space still to waste
2015-02-12 21:03:38 +01:00
Andrea Mazzoleni
798de7ca99
Change the flush logic for streams
...
Now stdout and stderr are always line buffered, and stdlog only
flushed on request.
2015-02-03 18:29:11 +01:00
Andrea Mazzoleni
b5ce575981
Change the log and output handling
...
Now the log file contains all the errors messages,
and all the tag lines.
2015-02-02 23:39:46 +01:00
Andrea Mazzoleni
ad57aafd8f
Refactor the parity size detection before sync.
...
Now we resize the parity only after checking the size of all
the parity file.
2015-02-01 18:48:50 +01:00
Andrea Mazzoleni
6844fb7527
Print only the first 100 error to avoid to clutter the output
2015-01-31 17:05:31 +01:00
Andrea Mazzoleni
4a41adc807
Add preliminary SMART support with a new "smart" command.
2015-01-14 22:29:20 +01:00
Andrea Mazzoleni
49a66da494
Removes the "silent" error specification as now also input/output errors are possible.
2015-01-06 22:55:40 +01:00
Andrea Mazzoleni
ffe7f6fa57
Adds new files support.c/h for low level support functions.
2015-01-02 18:52:04 +01:00
Andrea Mazzoleni
0c539a0b35
Handles better upgrading in the status command.
2014-11-09 22:24:20 +01:00
Andrea Mazzoleni
7e9a5e6a6d
Stores the free space in the content file.
...
This avoids the need to access data and parity disks in
the status command.
Also removed some data disk access, in list, dup and similar
commands that don't need to scan the disks.
2014-11-09 19:14:29 +01:00
Andrea Mazzoleni
4419801674
Merges parity info in a parity struct.
2014-11-09 10:32:00 +01:00
Andrea Mazzoleni
0b36b3205c
Adds more info in the status log.
2014-11-01 17:38:14 +01: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
3e2d805d08
Extends the status command to show free space.
2014-10-13 23:47:25 +02:00
Andrea Mazzoleni
876bddcf4c
Beautifies the code.
2014-09-27 00:32:39 +02:00
Andrea Mazzoleni
2652438f6d
More logging info for scrub and commandline.
2014-06-29 10:49:13 +02:00
Andrea Mazzoleni
44ef039a13
Different source organization.
2014-03-23 17:50:27 +01:00