Andrea Mazzoleni
a652eedb3c
Use the https site in the documentation
2025-10-27 22:50:25 +01:00
Andrea Mazzoleni
c1e00bf97a
Add valgrind and ubsan suppressions
2025-10-27 18:39:58 +01:00
Andrea Mazzoleni
881add341f
Some more assertions
2025-10-27 16:22:52 +01:00
Andrea Mazzoleni
36b20e5d0e
Explain the internal functionality of the IO system
2025-10-27 15:55:13 +01:00
Andrea Mazzoleni
430ea9f8d1
Update TODO
2025-10-27 14:28:10 +01:00
Andrea Mazzoleni
8ae0599c64
Fix quoting for printed file paths
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
2025-10-27 01:07:38 +01:00
Andrea Mazzoleni
21acc31bf1
Beautify code with uncrustify
2025-10-26 18:11:45 +01:00
Andrea Mazzoleni
04711f7483
Documentation fixes
2025-10-26 18:02:58 +01:00
Andrea Mazzoleni
9bc50f4e34
Avoid empty line in the cooldown output
2025-10-26 14:46:45 +01:00
Andrea Mazzoleni
a145ab5674
Improve temperature messages
2025-10-26 14:46:45 +01:00
Andrea Mazzoleni
ac986579d7
During cooldown keep spinning down any disk that is spun up
2025-10-26 12:03:31 +01:00
Andrea Mazzoleni
b549bffd4c
Flush disks before the emergency spindown
2025-10-26 10:38:43 +01:00
Andrea Mazzoleni
d2671e7627
Ensure that in Windows the content rename operation is flushed to disk
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
2025-10-23 18:22:03 +02:00
Andrea Mazzoleni
1344bc2e38
Update manual
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
2025-10-22 11:10:41 +02:00
Andrea Mazzoleni
508db63976
Update HISTORY
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
2025-10-21 22:29:43 +02:00
Andrea Mazzoleni
1552f892d3
Don't forward Windows events to the child. It already receives them.
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
2025-10-21 00:35:28 +02:00
Andrea Mazzoleni
6daaafc17b
Update TODO
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
2025-10-20 15:01:18 +02:00
Andrea Mazzoleni
1aba628477
Fix command line handling in Windows
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
2025-10-18 16:22:10 +02:00
Andrea Mazzoleni
ce2ad1e9c1
Handle SIGPIPE when spinning down
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
2025-10-18 11:45:31 +02:00
Andrea Mazzoleni
6c1421f5a0
Change thermal defaults
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
2025-10-17 10:07:51 +02:00
Andrea Mazzoleni
e00342557e
Exit with an error code if Ctrl+C is pressed
2025-10-17 10:07:51 +02:00
Andrea Mazzoleni
b4c96e5afa
Handle signals in fork
2025-10-17 08:49:05 +02:00
Andrea Mazzoleni
adc968e5c9
Keep estimating using the latest know temperature even if equal
2025-10-16 17:55:22 +02:00
Andrea Mazzoleni
47c164154d
Update manual
2025-10-16 17:42:29 +02:00
Andrea Mazzoleni
adce4ce5f7
Use /proc/self/exe to restart itself
2025-10-16 16:13:13 +02:00
Andrea Mazzoleni
f7798b2357
Update performance test of raid.c
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
2025-10-14 23:26:34 +02:00
Andrea Mazzoleni
13a4872e69
Revise the top comment of raid.c
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
2025-10-13 17:32:55 +02:00
Andrea Mazzoleni
52ef48655f
Improve and change the order of the user messages
...
The "Everything is OK" is now printed as latest one.
2025-10-13 13:51:18 +02:00
Andrea Mazzoleni
467fb8c1ac
Don't print the "Nothing to do" if the state was updated
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
2025-10-13 00:26:31 +02:00
Andrea Mazzoleni
c1e101699a
Avoid stale messages on terminal to appear in new lines
2025-10-12 23:55:32 +02:00
Andrea Mazzoleni
1aa1455ea0
Update manual
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
2025-10-12 19:17:32 +02:00
Andrea Mazzoleni
adde997a38
Extend block time information to 64 bits
...
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
Prevent potential timestamp overflow for the last write operation, which
could occur around 2106. The content format remains unchanged, as values are
expected to stay within the 32-bit range until then.
2025-10-08 13:02:24 +02:00
Andrea Mazzoleni
a2dd9a5f1c
Fix leak on error in the new devup
2025-10-08 00:17:01 +02:00
Andrea Mazzoleni
bf7b341310
Update rpm.spec
2025-10-06 17:09:47 +02:00
Andrea Mazzoleni
b98b37dac9
Update TODO
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
2025-10-06 17:07:03 +02:00
Andrea Mazzoleni
dade6d809a
Update HISTORY
2025-10-06 17:02:10 +02:00
Andrea Mazzoleni
4037fdd735
More manual improvments
2025-10-06 15:43:51 +02:00
Andrea Mazzoleni
739c50ca1a
New coverity
2025-10-06 15:33:32 +02:00
Andrea Mazzoleni
b03ad0dfa0
Correct the syntax and grammar of the manual
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
2025-10-04 14:40:39 +02:00
Andrea Mazzoleni
649b3f1f0b
Remove the SMART attribute 193 from the failure probability computation
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
2025-09-29 16:25:49 +02:00
Andrea Mazzoleni
93804c20c3
Add a new -A, --stats option
2025-09-29 15:53:43 +02:00
Andrea Mazzoleni
c3d34734ae
Spinup Windows disk with direct access at low level
2025-09-29 14:42:15 +02:00
Andrea Mazzoleni
be41b8dbd5
Faster makedist
2025-09-29 14:36:33 +02:00
Andrea Mazzoleni
47c0f3b8ae
Before spinning down flush all the disk caches
2025-09-27 19:40:32 +02:00
Andrea Mazzoleni
906d215bf5
Add thermal protection options: temp_limit and temp_sleep
...
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
Introduce two new configuration directives to protect disks from overheating:
- temp_limit <TEMPERATURE_CELSIUS>
Sets the maximum allowed disk temperature. When any disk exceeds this limit,
SnapRAID stops all operations and spins down the disks.
- temp_sleep <TIME_IN_MINUTES>
Specifies how long disks remain in standby after a temperature event.
Defaults to 15 minutes.
These options allow SnapRAID to automatically pause activity and cool down
disks when a temperature threshold is reached, improving data safety and
hardware longevity.
2025-09-27 16:05:05 +02:00
Andrea Mazzoleni
b5bbece95e
Update HISTORY
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
2025-09-26 10:04:33 +02:00
Andrea Mazzoleni
bb2b84d21a
Add a new -s, --spin-down-on-error option
...
Also handle correctly chars outside the Windows codepage as arguments.
2025-09-26 09:50:10 +02:00
Andrea Mazzoleni
30474cfb80
Ensure that writer buffers are flushed before synchronizing parity writes
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
2025-09-25 15:32:34 +02:00
Andrea Mazzoleni
5fd41d215b
Intercept Ctrl-C at startup of all commands
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
2025-09-24 11:32:10 +02:00
Andrea Mazzoleni
fedeb99bdc
Add a new probe command
...
Probe the power state of the disks in the system
2025-09-24 11:26:30 +02:00