Commit graph

2578 commits

Author SHA1 Message Date
Andrea Mazzoleni
e743e23555 Add support for short writes to files. It should not happen, but just to be sure.
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-01-25 11:29:41 +01:00
Andrea Mazzoleni
caf9cd3961 Review all the error messages 2026-01-25 11:14:29 +01:00
Andrea Mazzoleni
f64d582960 Fixed a crash on macOS when filesystem doesn't report UUID
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
ad2a36f2c7 Check dirfd result before using it 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
c180015fdc Less confusing names of smartctl flags 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
a7cae2707f Always trim family/serial/model 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
94e71365b8 Use "warning" for less relevant errors in the final exit status 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
4aa644c8d9 Simplify failure probability computation 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
ede99cbe80 Added wear level percentage to the SMART report 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
e99f43c8ca Log both protocol and medium errors 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
58ca0b7057 Revise log documentation 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
b29500c25f Update beautification with uncrustify 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
e80734fc4c Fix typos 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
a7d6db1d5c Add a fastcheck target 2026-01-17 20:18:50 +01:00
Andrea Mazzoleni
69d9335c9c Revise log documentation
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-01-17 19:13:52 +01:00
Andrea Mazzoleni
8cc9a2cf20 Switch to Advanced CodeQL
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-01-16 13:18:07 +01:00
Andrea Mazzoleni
0e1b4ad1f5 Add permissions to build action 2026-01-16 13:18:07 +01:00
Andrea Mazzoleni
be3c5bf8eb In the log all the integer should be assumed 64 bits 2026-01-16 10:48:33 +01:00
Andrea Mazzoleni
9d383f08c9 Log the content file counters 2026-01-16 10:40:57 +01:00
Andrea Mazzoleni
e9756461af Failing to flush is an I/O error 2026-01-16 10:05:31 +01:00
Andrea Mazzoleni
a7e9cdd8c6 Log the exit summary of the status command 2026-01-16 00:28:12 +01:00
Andrea Mazzoleni
a11938497e Update to CodeQL v4
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
2026-01-14 10:53:22 +01:00
Andrea Mazzoleni
6b79b3157d Splitted the --gui option in --gui and --gui-verbose to avoid extremely big logs 2026-01-14 10:49:23 +01:00
Andrea Mazzoleni
276b06f0a6 Extend the log error tags to differentiate between io/silent to generic errors
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
2026-01-14 01:45:32 +01:00
Andrea Mazzoleni
9f14dd94e5 Add support for ** in the patterns
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
2026-01-11 15:48:36 +01:00
Andrea Mazzoleni
36cef9ee89 New .snapraidignore feature 2026-01-11 12:07:01 +01:00
Andrea Mazzoleni
6a912b4726 Optimize the stream support for small text files 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
c793077b42 Update TODO 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
f6cf240b97 New experimental MuseAir hash 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
cc2bdad335 Some hash support improvments 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
00dc3e6a48 New speed test options 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
96a70ac77e Update HISTORY 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
928469bc3d Avoid some warnings reported with higher optimization 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
990c349397 Remove some compiler options intended to improve the stacktrace
They may affect the performance negatively.
2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
ba781f903d New test vectors for metro hash 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
be3e3673fd Use proper family variable name instead of vendor 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
c4f01e9503 Retrieve disk attributes from the system also in Windows 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
13fae39eb3 New pseudo random number generator
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
2026-01-06 09:34:29 +01:00
Andrea Mazzoleni
0aafcd1819 Read random sector to avoid cache when spinning up disk 2026-01-05 17:09:16 +01:00
Andrea Mazzoleni
d46a2402b6 Beautify code with uncrustify 2026-01-05 15:59:03 +01:00
Andrea Mazzoleni
45eb2efb60 Update documentation
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
6af8894120 In the help text print which configuration file is used 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
005ee9d416 Don't flush also when restarting 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
3678474074 When spinning down sync only the related disks 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
524733a6db Make the stat tag a disk level 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
672b881df3 Add support for DEB 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
a91f29037f Add support for Slackware 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
524cb42818 Update the RPM spec 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
fca525e5c6 Get SMART attributes also in probe, but only if the disk is already spinning 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
986d7464b4 Add disk usage detection based on access counters 2026-01-04 18:01:19 +01:00