Commit graph

1198 commits

Author SHA1 Message Date
Andrea Mazzoleni
c8558c28ac Fix some formatting issues of the code
Now it matches the Linux kernel style.
2015-03-12 18:53:36 +01:00
Andrea Mazzoleni
2bcca4f2ec Fix some formatting issues 2015-03-10 22:20:11 +01:00
Andrea Mazzoleni
1d9b0abc3f Add raid selftest for raid_rec_dataonly() 2015-03-10 22:09:48 +01:00
Andrea Mazzoleni
348ca97493 Fix some formatting issues 2015-03-10 19:30:43 +01:00
Andrea Mazzoleni
b48cb36c51 Restore the test for AVX2 2015-03-10 19:30:19 +01:00
Andrea Mazzoleni
797dab0bd7 Remove extra space in generated tables 2015-03-10 19:05:54 +01:00
Andrea Mazzoleni
a99cd9daff Use specialized assembler header and footer for sse and avx 2015-03-10 19:02:23 +01:00
Andrea Mazzoleni
555b161df1 Minor changes to make it more similar at kernel version 2015-03-09 23:39:30 +01:00
Andrea Mazzoleni
1c3000ae04 Use a better cpu detection
We now follow precisely the Intel documentation.
2015-03-09 22:28:51 +01:00
Andrea Mazzoleni
763dccaaed Use an implicit clobber list for asm snipsets
There is no speed gain in a custom clobber list.
2015-03-09 22:25:29 +01:00
Andrea Mazzoleni
54df8acd06 Revise the TODO list 2015-03-05 19:09:46 +01:00
Andrea Mazzoleni
83d967e2c0 Change "diff" to return an error if a "sync" is required 2015-03-02 23:01:15 +01:00
Andrea Mazzoleni
7e06c8eefa The command "smart" is now supported also in Windows 2015-03-02 22:23:27 +01:00
Andrea Mazzoleni
d0dc352790 Reorganize TODO entries for post 8.0 release 2015-03-02 19:05:20 +01:00
Andrea Mazzoleni
76cb3d5b88 Fix printing of wasted space in "status" command 2015-03-01 19:20:03 +01:00
Andrea Mazzoleni
b8f66ac3e4 Minor README change 2015-02-28 09:16:57 +01:00
Andrea Mazzoleni
5812ec8bd8 Use standard smartctl.exe 2015-02-27 23:33:16 +01:00
Andrea Mazzoleni
779acb9cd1 Minor README change 2015-02-26 19:21:31 +01:00
Andrea Mazzoleni
e56de653da Introduce a new messaging system 2015-02-22 14:31:03 +01:00
Andrea Mazzoleni
fa5f31ddf9 Move stream implementation to a specific source file 2015-02-21 09:00:34 +01:00
Andrea Mazzoleni
d4a92f4918 Add additional regression test for streams 2015-02-20 19:07:19 +01:00
Andrea Mazzoleni
f6611557d0 Remove some override in reading the binary state.
They have no chance to work as a wrong blockmax would
unsych the stream.
2015-02-19 19:47:22 +01:00
Andrea Mazzoleni
84949d96da Add an extra CRC check on the data written to the streams
This is intented to detect memory errors during the processing.
2015-02-18 19:27:59 +01:00
Andrea Mazzoleni
87aa5d5e7b Add a memory test at the stream buffer 2015-02-18 19:17:48 +01:00
Andrea Mazzoleni
fed3e8be1f Use shorter fake device names in Windows 2015-02-17 22:27:11 +01:00
Andrea Mazzoleni
d37e0703c3 Run tools from exe dir in Windows 2015-02-16 23:38:34 +01:00
Andrea Mazzoleni
fa430adbfc Add a mutex for handling the UTF conversion. 2015-02-16 23:36:53 +01:00
Andrea Mazzoleni
cbf4d32d13 Change the MinGW target for x86.
This one support better the printf attribute format.
2015-02-16 19:22:59 +01:00
Andrea Mazzoleni
fba7cdcbe2 Fix the printf attribute for MingW 2015-02-16 18:42:52 +01:00
Andrea Mazzoleni
14c8307ed4 Extend the "smart" and "down" command to Windows
Now we are able to detect what low level device is associated
to the high level volume.
2015-02-15 18:34:27 +01:00
Andrea Mazzoleni
162d049bb9 Clearify some comments for Windows filesystem 2015-02-13 18:50:52 +01:00
Andrea Mazzoleni
894cd5ee70 In Windows spinup use CreteFile instead than FindFirst
It's just not possible to open the root dir with
FindFirstFile("C:\") or FindFirstFile("C:").
2015-02-13 18:49:46 +01:00
Andrea Mazzoleni
f65ee373e5 Mark the disks recognized as SSD 2015-02-13 18:49:01 +01:00
Andrea Mazzoleni
28dc9a6a7b Be more flexible when parsing smartctl output 2015-02-13 18:48:16 +01:00
Andrea Mazzoleni
ea07a7025e Escape path in the log file 2015-02-12 22:55:05 +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
bed594c8b0 New tables for estimating the failure probability 2015-02-08 21:00:47 +01:00
Andrea Mazzoleni
b55d2eb3b8 Remove the check for FLAG_COMMAND
In some USB enclosures some SMART commands may fail
but smartctl is still able to report data.
2015-02-08 15:24:39 +01:00
Andrea Mazzoleni
60f0c2494f Add most of the stdout output also to stdlog 2015-02-07 16:57:36 +01:00
Andrea Mazzoleni
0a657cbdb0 Make the quiet option to hide the progress bar 2015-02-04 08:10:39 +01:00
Andrea Mazzoleni
2ac751b6d9 Put all the stdout output also in stdlog 2015-02-03 19:35:43 +01:00
Andrea Mazzoleni
3884af54ea Put the "Stopping" message into stderr 2015-02-03 18:53:23 +01:00
Andrea Mazzoleni
7954e9405f Disable stdlog if log file is not specified 2015-02-03 18:30:32 +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
80d51384ac Adjust some error messages in some commands 2015-02-03 18:12:52 +01:00
Andrea Mazzoleni
590d1aa51e Avoid to overuse va_arg more than one time 2015-02-03 08:10:22 +01:00
Andrea Mazzoleni
6c3e5e91fd Ensure that ferr() is a single line command 2015-02-03 00:01:42 +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
ce20be0ded Count disks skipping the holes in the parity number warning 2015-02-02 21:17:15 +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